Skip to content

Commit

Permalink
xen: mark xen_init_IRQ __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefano Stabellini authored and Konrad Rzeszutek Wilk committed Oct 2, 2012
1 parent 613ad48 commit 2e3d886
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1846,4 +1846,3 @@ void xen_init_IRQ(void)
}
#endif
}
EXPORT_SYMBOL_GPL(xen_init_IRQ);

0 comments on commit 2e3d886

Please sign in to comment.