From cc18e21da08266e0a02ba6982dc09e535f72cb7b Mon Sep 17 00:00:00 2001 From: miod Date: Sun, 13 Jul 2014 09:09:16 +0000 Subject: [PATCH] One missing boot -> prsignal(initprocess) conversion --- sys/arch/hppa/dev/power.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.20.1