summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/entry.S
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2005-10-02 21:49:52 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-02 23:32:49 +0200
commitd70ddac1bf3a8b102996588010ca87018c3a4a04 (patch)
treef1c2db0d79c3ccc357e2b837f7d0ec07977b6b39 /arch/alpha/kernel/entry.S
parentMerge master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadlinux-d70ddac1bf3a8b102996588010ca87018c3a4a04.tar.xz
linux-d70ddac1bf3a8b102996588010ca87018c3a4a04.zip
[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)