artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b26ea
)
One missing boot -> prsignal(initprocess) conversion
author
miod
<miod@openbsd.org>
Sun, 13 Jul 2014 09:09:16 +0000
(09:09 +0000)
committer
miod
<miod@openbsd.org>
Sun, 13 Jul 2014 09:09:16 +0000
(09:09 +0000)
sys/arch/hppa/dev/power.c
patch
|
blob
|
history
diff --git
a/sys/arch/hppa/dev/power.c
b/sys/arch/hppa/dev/power.c
index
d13bdbe
..
d37ae78
100644
(file)
--- a/
sys/arch/hppa/dev/power.c
+++ b/
sys/arch/hppa/dev/power.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: power.c,v 1.
8 2014/07/12 20:18:08 uebayasi Exp $
*/
+/* $OpenBSD: power.c,v 1.
9 2014/07/13 09:09:16 miod Exp $
*/
/*
* Copyright (c) 2003 Michael Shalayeff
@@
-172,7
+172,7
@@
power_thread_reg(void *v)
: "=&r" (r) : "r" (sc->sc_pwr_reg));
if (!(r & 1))
-
boot(RB_POWERDOWN | RB_HALT
);
+
prsignal(initprocess, SIGUSR2
);
tsleep(v, PWAIT, "regpower", 10);
}