summaryrefslogtreecommitdiffstats
path: root/arch/i386/boot/compressed
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-12-16 05:34:03 +0000
commit967c65a99059fd459b956c1588ce0ba227912c4e (patch)
tree8224d013ff5d255420713d05610c7efebd204d2a /arch/i386/boot/compressed
parente20c1cc1656a66a2773bca4591a895cbc12696ff (diff)
Merge with Linux 2.1.72, part 1.
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()
{