Re: [PATCH 5/7] KVM: Extract generic irqchip logic into irqchip.c

Paolo Bonzini
2013-04-17T12:05:15Z

Il 16/04/2013 19:26, Alexander Graf ha scritto:
> +#ifdef kvm_irqchip
> TP_printk("irqchip %s pin %u",
> __print_symbolic(__entry->irqchip, kvm_irqchips),
> __entry->pin)
> +#else
> + TP_printk("irqchip %d pin %u", __entry->irqchip, __entry->pin)
> +#endif

Ah, spotted this too. Must be "#ifdef kvm_irqchips", but perhaps you
can just use #ifdef __KVM_HAVE_IOAPIC.

Paolo