x86: Fix section mismatches in mpparse
commit575922248c0df490843ddfbcf3bc65b54c4adb08
authorRakib Mullick <rakib.mullick@gmail.com>
Sat, 11 Apr 2009 03:04:59 +0000 (11 09:04 +0600)
committerIngo Molnar <mingo@elte.hu>
Sun, 12 Apr 2009 10:32:18 +0000 (12 12:32 +0200)
tree9ffb5d127fad196cb3f2a5f5a4437f485eb471a3
parent9b987aeb4a7bc42a3eb8361030b820b0263c31f1
x86: Fix section mismatches in mpparse

Impact: fix section mismatch

In arch/x86/kernel/mpparse.c, smp_reserve_bootmem() has been called
and also refers to a function which is in .init section. Thus causes
the first warning. And check_irq_src() also requires an __init,
because it refers to an .init section.

Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <b9df5fa10904102004g51265d9axc8d07278bfdb6ba0@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse.c