lkml.org 
[lkml]   [2009]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH -tip] x86: trampoline.c cleanup
From
Date
Subject: [PATCH] x86: trampoline.c cleanup

Impact: cleanup

- fix style problems

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
arch/x86/kernel/trampoline.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/trampoline.c b/arch/x86/kernel/trampoline.c
index 808031a..e3b1f2e 100644
--- a/arch/x86/kernel/trampoline.c
+++ b/arch/x86/kernel/trampoline.c
@@ -15,7 +15,7 @@ void __init reserve_trampoline_memory(void)
* trampoline before removing it. (see the GDT stuff)
*/
reserve_early(PAGE_SIZE, PAGE_SIZE + PAGE_SIZE, "EX TRAMPOLINE");
-#endif
+#endif /* CONFIG_X86_32 */
/* Has to be in very low memory so we can execute real-mode AP code. */
reserve_early(TRAMPOLINE_BASE, TRAMPOLINE_BASE + TRAMPOLINE_SIZE,
"TRAMPOLINE");
@@ -29,5 +29,6 @@ void __init reserve_trampoline_memory(void)
unsigned long setup_trampoline(void)
{
memcpy(trampoline_base, trampoline_data, TRAMPOLINE_SIZE);
+
return virt_to_phys(trampoline_base);
}
--
1.6.0.6




\
 
 \ /
  Last update: 2009-03-14 16:47    [from the cache]
©2003-2011 Jasper Spaans