summaryrefslogtreecommitdiff
path: root/arch/ppc/kernel/misc.S
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2004-03-23 15:27:03 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-03-23 15:27:03 -0800
commitdb80df6ee8aa0883f1b51ed1996f5bb3ba7c4cbb (patch)
treebceb9dbd0f655d36b2ae911dac54c539b0d7b106 /arch/ppc/kernel/misc.S
parent8685429773f88721b45176c45442ca3978e8597a (diff)
[PATCH] fix ppc32 sys_swapcontext
This fixes a bug in the swapcontext system call on ppc32. On ppc32, the system call entry only saves the volatile registers, except in the case of a few system calls (e.g. fork) which need all the registers saved. Swapcontext needs all the registers but we weren't saving them all. So fixes that.
Diffstat (limited to 'arch/ppc/kernel/misc.S')
-rw-r--r--arch/ppc/kernel/misc.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S
index 9d9023e0ff77..3f9b6a206937 100644
--- a/arch/ppc/kernel/misc.S
+++ b/arch/ppc/kernel/misc.S
@@ -1363,7 +1363,7 @@ _GLOBAL(sys_call_table)
.long sys_clock_gettime
.long sys_clock_getres
.long sys_clock_nanosleep
- .long sys_swapcontext
+ .long ppc_swapcontext
.long sys_tgkill /* 250 */
.long sys_utimes
.long sys_statfs64