]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix section mismatch in srat_64.c:reserve_hotadd
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Feb 2008 12:22:58 +0000 (13:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:31 +0000 (16:18 +0100)
commitcfd5113f1e007aeeff595a6a7cb781138ebdbb3e
treeeecf37fee63d9302033a5e3d673d3415efeb3646
parent8e14035e516be18a3c6778d4b9b0cbd3f9af3b97
x86: fix section mismatch in srat_64.c:reserve_hotadd

reserve_hotadd() are only used by __init acpi_numa_memory_affinity_init().
Annotate reserve_hotadd() with __init is the trivial fix.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/srat_64.c