From: Stefano Stabellini Date: Tue, 2 Oct 2012 14:57:57 +0000 (+0100) Subject: xen: mark xen_init_IRQ __init X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fad74274c863994a58445343eb857fa3a15b197e;p=people%2Faperard%2Flinux-chromebook.git xen: mark xen_init_IRQ __init xen_init_IRQ should be marked __init because it calls other functions marked __init and is always called by functions marked __init (on both x86 and arm). Also remove the unused EXPORT_SYMBOL_GPL(xen_init_IRQ). Both changes were introduced by "xen/arm: receive Xen events on ARM". Signed-off-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/drivers/xen/events.c b/drivers/xen/events.c index d152876d936d3..ef9eb6bc0e153 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -1792,7 +1792,7 @@ void xen_callback_vector(void) void xen_callback_vector(void) {} #endif -void xen_init_IRQ(void) +void __init xen_init_IRQ(void) { int i; @@ -1836,4 +1836,3 @@ void xen_init_IRQ(void) } #endif } -EXPORT_SYMBOL_GPL(xen_init_IRQ);