diff options
author | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2013-11-13 07:03:12 +0000 |
---|---|---|
committer | Masao Uebayashi <uebayasi@cvs.openbsd.org> | 2013-11-13 07:03:12 +0000 |
commit | 1ef5887547f64c82ed9a8de178f7857d250c401c (patch) | |
tree | 049a8629fe37764d1d826a16261e3375e9b57d14 /sys/arch | |
parent | 444642bbf9238eff53f8eb5b038ba52bf66afe72 (diff) |
boot(): Don't forget calling if_downall() and uvm_shutdown() on arm ports.
"Unification good" deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/armish/armish/armish_machdep.c | 6 | ||||
-rw-r--r-- | sys/arch/armv7/armv7/armv7_machdep.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/armish/armish/armish_machdep.c b/sys/arch/armish/armish/armish_machdep.c index 73cf99500d5..17a33541ac5 100644 --- a/sys/arch/armish/armish/armish_machdep.c +++ b/sys/arch/armish/armish/armish_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armish_machdep.c,v 1.19 2013/09/28 14:16:41 miod Exp $ */ +/* $OpenBSD: armish_machdep.c,v 1.20 2013/11/13 07:03:11 uebayasi Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -266,6 +266,10 @@ boot(int howto) if (!(howto & RB_NOSYNC)) bootsync(howto); + if_downall(); + + uvm_shutdown(); + /* Say NO to interrupts */ splhigh(); diff --git a/sys/arch/armv7/armv7/armv7_machdep.c b/sys/arch/armv7/armv7/armv7_machdep.c index 32ff1957ecc..17ed745c485 100644 --- a/sys/arch/armv7/armv7/armv7_machdep.c +++ b/sys/arch/armv7/armv7/armv7_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: armv7_machdep.c,v 1.2 2013/11/08 00:08:13 aalm Exp $ */ +/* $OpenBSD: armv7_machdep.c,v 1.3 2013/11/13 07:03:11 uebayasi Exp $ */ /* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */ /* @@ -282,6 +282,10 @@ boot(int howto) if (!(howto & RB_NOSYNC)) bootsync(howto); + if_downall(); + + uvm_shutdown(); + /* Say NO to interrupts */ splhigh(); |