|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Re: [PATCH 36 of 38] xen: route hardware irqs via Xen
Ingo Molnar wrote: +#ifdef CONFIG_XEN_PCI + irq = xen_register_gsi(gsi, triggering, polarity); + if ((int)irq >= 0) + return irq; +#endifwhy not change irq to 'int' and avoid the cast? Yeah, OK. also, please eliminate the #ifdef by turning xen_register_gsi() into a 'return -1' inline on !CONFIG_XEN_PCI. OK. +#ifdef CONFIG_XEN_PCI + xen_pci_init(); +#endifhide the #ifdef in a header please. (like you already properly do for xen_setup_pirqs()) OK.
That was really just a temp debug hack; it shouldn't be dumping stack for probes anyway.
Erm, yep. J _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |