x86: compressed head_32 - use ENTRY,ENDPROC macros
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 13 Feb 2009 21:50:23 +0000 (00:50 +0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Feb 2009 16:13:01 +0000 (17:13 +0100)
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/boot/compressed/head_32.S

index 29c5fbf..9f20d37 100644 (file)
@@ -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: