From: miod Date: Sun, 13 Jul 2014 09:09:16 +0000 (+0000) Subject: One missing boot -> prsignal(initprocess) conversion X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cc18e21da08266e0a02ba6982dc09e535f72cb7b;p=openbsd One missing boot -> prsignal(initprocess) conversion --- diff --git a/sys/arch/hppa/dev/power.c b/sys/arch/hppa/dev/power.c index d13bdbef42f..d37ae786860 100644 --- 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); }