lkml.org 
[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC 6/6] x86: compressed head_32 - use ENTRY,ENDPROC macros
Impact: clenaup

Linker script will put startup_32 at predefined
address so using startup_32 will not bloat the
code size.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
---
arch/x86/boot/compressed/head_32.S | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: linux-2.6.git/arch/x86/boot/compressed/head_32.S
===================================================================
--- linux-2.6.git.orig/arch/x86/boot/compressed/head_32.S
+++ linux-2.6.git/arch/x86/boot/compressed/head_32.S
@@ -30,9 +30,7 @@
#include <asm/asm-offsets.h>

.section ".text.head","ax",@progbits
- .globl startup_32
-
-startup_32:
+ENTRY(startup_32)
cld
/* test KEEP_SEGMENTS flag to see if the bootloader is asking
* us to not reload segments */
@@ -113,6 +111,8 @@ startup_32:
*/
leal relocated(%ebx), %eax
jmp *%eax
+ENDPROC(startup_32)
+
.section ".text"
relocated:



\
 
 \ /
  Last update: 2009-02-13 22:59    [from the cache]
©2003-2011 Jasper Spaans