aboutsummaryrefslogtreecommitdiff
path: root/drivers/xen/events.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-10-02 15:57:57 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-02 12:34:56 -0400
commit2e3d88602814e5fd5b88d5c73be3305060c473b6 (patch)
tree56027d63e38a99bdd5d1921a183db86ed770fe45 /drivers/xen/events.c
parent613ad4837964e9b9ea914c74e7d8f57b86b75a52 (diff)
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 <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/events.c')
-rw-r--r--drivers/xen/events.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 8672211555b..59e10a1286d 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -1802,7 +1802,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;
@@ -1846,4 +1846,3 @@ void xen_init_IRQ(void)
}
#endif
}
-EXPORT_SYMBOL_GPL(xen_init_IRQ);