]> xenbits.xensource.com Git - people/aperard/linux-chromebook.git/commitdiff
xen: mark xen_init_IRQ __init
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 2 Oct 2012 14:57:57 +0000 (15:57 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Wed, 27 Feb 2013 12:05:55 +0000 (12:05 +0000)
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 <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/events.c

index d152876d936d35bf73662cc32aba9e53cf3bc0ad..ef9eb6bc0e15320af8a463c37eb19d5ce14c2a96 100644 (file)
@@ -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);