Skip to content

Commit

Permalink
enable_IR_x2apic() needs to be __init
Browse files Browse the repository at this point in the history
calls __init, called only from __init

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Nov 30, 2008
1 parent ad04d31 commit 2236d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ void enable_x2apic(void)
}
}

void enable_IR_x2apic(void)
void __init enable_IR_x2apic(void)
{
#ifdef CONFIG_INTR_REMAP
int ret;
Expand Down

0 comments on commit 2236d25

Please sign in to comment.