summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/head.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /arch/alpha/kernel/head.S
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'arch/alpha/kernel/head.S')
-rw-r--r--arch/alpha/kernel/head.S24
1 files changed, 5 insertions, 19 deletions
diff --git a/arch/alpha/kernel/head.S b/arch/alpha/kernel/head.S
index 17ca4581a..f76213624 100644
--- a/arch/alpha/kernel/head.S
+++ b/arch/alpha/kernel/head.S
@@ -23,9 +23,11 @@ _stext:
__start:
br $27,1f
1: ldgp $29,0($27)
- /* We need to get current loaded up with our first task. */
- ldq $8,current_set
- /* And then we can start the kernel. */
+ /* We need to get current loaded up with our first task... */
+ lda $8,init_task_union
+ /* ... and find our stack ... */
+ lda $30,0x4000($8)
+ /* ... and then we can start the kernel. */
jsr $26,start_kernel
halt
.end __start
@@ -63,22 +65,6 @@ rdusp:
.end rdusp
.align 3
- .globl tbi
- .ent tbi
-tbi:
- call_pal PAL_tbi
- ret ($26)
- .end tbi
-
- .align 3
- .globl imb
- .ent imb
-imb:
- call_pal PAL_imb
- ret ($26)
- .end imb
-
- .align 3
.globl rdmces
.ent rdmces
rdmces: