summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorHuang, Ying <ying.huang@intel.com>2008-03-28 05:49:48 +0300
committerIngo Molnar <mingo@elte.hu>2008-04-26 23:34:42 +0400
commitc14b2adf19b5d35aff91280b1a73c41a4dcabfe3 (patch)
treee71a4e12854e5aa2a5ed15e024ccb2cfcb33ed80 /arch/x86/kernel/setup_64.c
parent8b664aa66e824a0ddf4ec56d41fa0cf7bb374de6 (diff)
downloadlinux-c14b2adf19b5d35aff91280b1a73c41a4dcabfe3.tar.xz
x86, boot: export linked list of struct setup_data via debugfs
Export linked list of struct setup_data via debugfs. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index e1a21d6b3671..b04e2c011e1a 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -278,7 +278,9 @@ static void __init parse_setup_data(void)
default:
break;
}
+#ifndef CONFIG_DEBUG_BOOT_PARAMS
free_early(pa_data, pa_data+sizeof(*data)+data->len);
+#endif
pa_data = data->next;
early_iounmap(data, PAGE_SIZE);
}