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)
commitd01b9ad56e2cc7b6204b89ef10a53e78d70b5877
treeeecf37fee63d9302033a5e3d673d3415efeb3646
parent177c7715cd94a66d951fcafbacedd278a2d6fcab
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