public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip] x86: trampoline.c cleanup
@ 2009-03-14 15:44 Jaswinder Singh Rajput
  2009-03-14 16:20 ` Thomas Gleixner
  0 siblings, 1 reply; 7+ messages in thread
From: Jaswinder Singh Rajput @ 2009-03-14 15:44 UTC (permalink / raw)
  To: Ingo Molnar, x86 maintainers, LKML

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




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-15 16:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-14 15:44 [PATCH -tip] x86: trampoline.c cleanup Jaswinder Singh Rajput
2009-03-14 16:20 ` Thomas Gleixner
2009-03-14 16:35   ` Jaswinder Singh Rajput
2009-03-14 16:58     ` Thomas Gleixner
2009-03-14 18:11       ` Jaswinder Singh Rajput
2009-03-15  4:35         ` Ingo Molnar
2009-03-15 16:32   ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox