summaryrefslogtreecommitdiff
path: root/sys/src/9/ppc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-11-09 08:19:28 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-11-09 08:19:28 +0100
commitb18a6413975a0a8d06e6d310072a0ff90b1ed541 (patch)
treef147cffbc9767014b6409ebda9a21f957689bc1b /sys/src/9/ppc
parent1ffcdbab88aca698161b34096934e196370b3a21 (diff)
kernel: remove implicit Proc* argument from procctl()
procctl() is always called with up and it would not work correctly if passed a different process, so remove the Proc* argument and use up directly.
Diffstat (limited to 'sys/src/9/ppc')
-rw-r--r--sys/src/9/ppc/trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/ppc/trap.c b/sys/src/9/ppc/trap.c
index 1dca77482..64decfae2 100644
--- a/sys/src/9/ppc/trap.c
+++ b/sys/src/9/ppc/trap.c
@@ -706,7 +706,7 @@ notify(Ureg* ur)
Note *n;
if(up->procctl)
- procctl(up);
+ procctl();
if(up->nnote == 0)
return 0;