summaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/entry.S
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2005-10-02 12:49:52 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-02 14:32:49 -0700
commitd70ddac1bf3a8b102996588010ca87018c3a4a04 (patch)
treef1c2db0d79c3ccc357e2b837f7d0ec07977b6b39 /arch/alpha/kernel/entry.S
parentb620cc2cd80393b9a0f9a76806cb7f9e91671dac (diff)
[PATCH] alpha: fix kernel alignment traps
Pass in the pointer to the on-stack registers rather than using them directly as the arguments. Ivan noticed that I missed a spot when purging the registers as first stack parameter idiom. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/alpha/kernel/entry.S')
-rw-r--r--arch/alpha/kernel/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S
index 76cc0cb5fc2e..e38671c922bc 100644
--- a/arch/alpha/kernel/entry.S
+++ b/arch/alpha/kernel/entry.S
@@ -196,6 +196,7 @@ entUna:
stq $26, 208($sp)
stq $27, 216($sp)
stq $28, 224($sp)
+ mov $sp, $19
stq $gp, 232($sp)
lda $8, 0x3fff
stq $31, 248($sp)