Skip to content

Commit

Permalink
x86: compressed head_32 - use ENTRY,ENDPROC macros
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
cyrillos authored and Ingo Molnar committed Feb 19, 2009
1 parent 2d4eeec commit cb425af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86/boot/compressed/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -113,6 +111,8 @@ startup_32:
*/
leal relocated(%ebx), %eax
jmp *%eax
ENDPROC(startup_32)

.section ".text"
relocated:

Expand Down

0 comments on commit cb425af

Please sign in to comment.