diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-03-27 22:49:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-26 15:34:42 -0400 |
commit | c14b2adf19b5d35aff91280b1a73c41a4dcabfe3 (patch) | |
tree | e71a4e12854e5aa2a5ed15e024ccb2cfcb33ed80 /arch/x86/kernel/setup_64.c | |
parent | 8b664aa66e824a0ddf4ec56d41fa0cf7bb374de6 (diff) |
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.c | 2 |
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) | |||
278 | default: | 278 | default: |
279 | break; | 279 | break; |
280 | } | 280 | } |
281 | #ifndef CONFIG_DEBUG_BOOT_PARAMS | ||
281 | free_early(pa_data, pa_data+sizeof(*data)+data->len); | 282 | free_early(pa_data, pa_data+sizeof(*data)+data->len); |
283 | #endif | ||
282 | pa_data = data->next; | 284 | pa_data = data->next; |
283 | early_iounmap(data, PAGE_SIZE); | 285 | early_iounmap(data, PAGE_SIZE); |
284 | } | 286 | } |