diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-17 18:26:06 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-03-17 18:26:06 -0400 |
commit | be721696cac9d66566d59b205ee573ecb2f7c35b (patch) | |
tree | 8ec1fd9f5acfbea154f2e6012227b0507db9d687 /arch/x86/boot/pmjump.S | |
parent | 0ca0f16fd17c5d880dd0abbe03595b0c7c5b3c95 (diff) |
x86, setup: move 32-bit code to .text32
Impact: cleanup
The setup code is mostly 16-bit code, but there is a small stub of
32-bit code at the end. Move the 32-bit code to a separate segment,
.text32, to avoid scrambling the disassembly.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/boot/pmjump.S')
-rw-r--r-- | arch/x86/boot/pmjump.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/boot/pmjump.S b/arch/x86/boot/pmjump.S index 019c17a75851..3e0edc6d2a20 100644 --- a/arch/x86/boot/pmjump.S +++ b/arch/x86/boot/pmjump.S | |||
@@ -47,6 +47,7 @@ GLOBAL(protected_mode_jump) | |||
47 | ENDPROC(protected_mode_jump) | 47 | ENDPROC(protected_mode_jump) |
48 | 48 | ||
49 | .code32 | 49 | .code32 |
50 | .section ".text32","ax" | ||
50 | GLOBAL(in_pm32) | 51 | GLOBAL(in_pm32) |
51 | # Set up data segments for flat 32-bit mode | 52 | # Set up data segments for flat 32-bit mode |
52 | movl %ecx, %ds | 53 | movl %ecx, %ds |