summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-12-15 23:11:10 +0530
committerIngo Molnar <mingo@elte.hu>2008-12-16 21:18:22 +0100
commita9b43c7d9890066709609df849959009645c1a19 (patch)
tree49aa4395770d73189343f16e0f2b40254b7616db /arch/x86/kernel/setup.c
parentc0195b6da08c4ddd8c8ea830f6c3c40bc7f82071 (diff)
downloadkernel-crypto-a9b43c7d9890066709609df849959009645c1a19.tar.gz
kernel-crypto-a9b43c7d9890066709609df849959009645c1a19.tar.xz
kernel-crypto-a9b43c7d9890066709609df849959009645c1a19.zip
x86: setup.c find_and_reserve_crashkernel should be static
Impact: cleanup, reduce kernel size a bit Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 9d5674f7b6c..81f5d22747a 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -448,6 +448,7 @@ static void __init reserve_early_setup_data(void)
* @size: Size of the crashkernel memory to reserve.
* Returns the base address on success, and -1ULL on failure.
*/
+static
unsigned long long __init find_and_reserve_crashkernel(unsigned long long size)
{
const unsigned long long alignment = 16<<20; /* 16M */