x86, mpparse: Put check_slot() into .init section
commit64d21fc194e12bdf7347019bf10325a4b3d77e7b
authorRakib Mullick <rakib.mullick@gmail.com>
Sat, 2 Apr 2011 07:17:48 +0000 (2 13:17 +0600)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Apr 2011 15:17:19 +0000 (4 17:17 +0200)
tree6e993088e9d4beb3c7e4fb10af672df09244de33
parent9402efaa96e4c047dcc63ad5db65384c328aee5f
x86, mpparse: Put check_slot() into .init section

check_slot() is only called from replace_intsrc_all() - which is
in the .init section.

So, put check_slot into the .init section as well, so it can be freed
after system boot.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
LKML-Reference: <AANLkTing52ntzRcHkODCWDKOfRF=0uhXw5-cCUhx6M54@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse.c