summaryrefslogtreecommitdiffstats
path: root/arch/i386/boot/compressed
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/boot/compressed')
-rw-r--r--arch/i386/boot/compressed/head.S10
-rw-r--r--arch/i386/boot/compressed/misc.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/i386/boot/compressed/head.S b/arch/i386/boot/compressed/head.S
index 6f68a92d4..30384a3a3 100644
--- a/arch/i386/boot/compressed/head.S
+++ b/arch/i386/boot/compressed/head.S
@@ -37,7 +37,7 @@
startup_32:
cld
cli
- movl $(KERNEL_DS),%eax
+ movl $(__KERNEL_DS),%eax
mov %ax,%ds
mov %ax,%es
mov %ax,%fs
@@ -56,7 +56,7 @@ startup_32:
movl %eax,%esp
pushl 0 # Clear NT
popfl
- ljmp $(KERNEL_CS), $0x100000 # Into C and sanity
+ ljmp $(__KERNEL_CS), $0x100000 # Into C and sanity
2:
#endif
@@ -92,7 +92,7 @@ startup_32:
orl %eax,%eax
jnz 3f
xorl %ebx,%ebx
- ljmp $(KERNEL_CS), $0x100000
+ ljmp $(__KERNEL_CS), $0x100000
/*
* We come here, if we were loaded high.
@@ -116,7 +116,7 @@ startup_32:
popl %eax # hcount
movl $0x100000,%edi
cli # make sure we don't get interrupted
- ljmp $(KERNEL_CS), $0x1000 # and jump to the move routine
+ ljmp $(__KERNEL_CS), $0x1000 # and jump to the move routine
/*
* Routine (template) for moving the decompressed kernel in place,
@@ -136,5 +136,5 @@ move_routine_start:
* so we set esp here.
*/
mov $0x90000,%esp
- ljmp $(KERNEL_CS), $0x100000
+ ljmp $(__KERNEL_CS), $0x100000
move_routine_end:
diff --git a/arch/i386/boot/compressed/misc.c b/arch/i386/boot/compressed/misc.c
index 9a556baf4..e4a6ede9a 100644
--- a/arch/i386/boot/compressed/misc.c
+++ b/arch/i386/boot/compressed/misc.c
@@ -285,7 +285,7 @@ long user_stack [STACK_SIZE];
struct {
long * a;
short b;
- } stack_start = { & user_stack [STACK_SIZE] , KERNEL_DS };
+ } stack_start = { & user_stack [STACK_SIZE] , __KERNEL_DS };
void setup_normal_output_buffer()
{