diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-11 08:18:32 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-11 08:18:32 +0000 |
commit | 72f63f7fdd6631099e1fa845fd2628190c5698ad (patch) | |
tree | 2bd39c514f4dad3bcd9106a2fcf3d5a3fba4fb9c /sys/arch/sparc64 | |
parent | 39c8d65399e70823da4c8e62927c33c3f8331158 (diff) |
It's init as a process that's special, not init's original thread.
Remember initprocess instead of initproc.
ok matthew@ blambert@
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/power.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/rtc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/power.c b/sys/arch/sparc64/dev/power.c index 560e2e63b3b..bde18c16559 100644 --- a/sys/arch/sparc64/dev/power.c +++ b/sys/arch/sparc64/dev/power.c @@ -1,4 +1,4 @@ -/* $OpenBSD: power.c,v 1.6 2011/06/24 19:47:49 naddy Exp $ */ +/* $OpenBSD: power.c,v 1.7 2014/07/11 08:18:31 guenther Exp $ */ /* * Copyright (c) 2006 Jason L. Wright (jason@thought.net) @@ -136,7 +136,7 @@ power_intr(void *vsc) if (allowpowerdown == 1) { allowpowerdown = 0; - psignal(initproc, SIGUSR2); + prsignal(initprocess, SIGUSR2); } return (1); } diff --git a/sys/arch/sparc64/dev/rtc.c b/sys/arch/sparc64/dev/rtc.c index ae69bc342ac..a4d677ec867 100644 --- a/sys/arch/sparc64/dev/rtc.c +++ b/sys/arch/sparc64/dev/rtc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtc.c,v 1.9 2011/06/24 19:47:49 naddy Exp $ */ +/* $OpenBSD: rtc.c,v 1.10 2014/07/11 08:18:31 guenther Exp $ */ /* * Copyright (c) 1992, 1993 @@ -212,7 +212,7 @@ rtc_intr(void *arg) if (allowpowerdown == 1) { allowpowerdown = 0; - psignal(initproc, SIGUSR2); + prsignal(initprocess, SIGUSR2); } return (1); } |