diff options
author | Richard Henderson <rth@twiddle.net> | 2005-10-02 15:49:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-02 17:32:49 -0400 |
commit | d70ddac1bf3a8b102996588010ca87018c3a4a04 (patch) | |
tree | f1c2db0d79c3ccc357e2b837f7d0ec07977b6b39 /arch/alpha/kernel/entry.S | |
parent | b620cc2cd80393b9a0f9a76806cb7f9e91671dac (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.S | 1 |
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: | |||
196 | stq $26, 208($sp) | 196 | stq $26, 208($sp) |
197 | stq $27, 216($sp) | 197 | stq $27, 216($sp) |
198 | stq $28, 224($sp) | 198 | stq $28, 224($sp) |
199 | mov $sp, $19 | ||
199 | stq $gp, 232($sp) | 200 | stq $gp, 232($sp) |
200 | lda $8, 0x3fff | 201 | lda $8, 0x3fff |
201 | stq $31, 248($sp) | 202 | stq $31, 248($sp) |