summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2016-10-09 11:25:41 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2016-10-09 11:25:41 +0000
commitd43df1ec23df938621913673f3c027e7a46a1d5b (patch)
treed9920233d56e2bd5710c0f3cc54ada133d36f4b7 /sys/arch/landisk
parentd2fec34135b93761a0a2758580a954b77099a20c (diff)
Apply consistency to forever loops with continue and NOTREACHED
Same thought from kettenis@, ok krw@ phessler@ millert@
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/landisk/machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c
index 53bd1002aec..36d788c2fba 100644
--- a/sys/arch/landisk/landisk/machdep.c
+++ b/sys/arch/landisk/landisk/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.43 2016/03/05 17:16:33 tobiasu Exp $ */
+/* $OpenBSD: machdep.c,v 1.44 2016/10/09 11:25:39 tom Exp $ */
/* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -186,8 +186,9 @@ landisk_startup(int howto, char *_esym)
"jmp @%0\n\t"
" mov %1, sp"
:: "r" (main), "r" (proc0.p_md.md_pcb->pcb_sf.sf_r7_bank));
+ for (;;)
+ continue;
/* NOTREACHED */
- for (;;) ;
}
__dead void
@@ -240,10 +241,9 @@ haltsys:
printf("rebooting...\n");
machine_reset();
- /* NOTREACHED */
- for (;;) {
+ for (;;)
continue;
- }
+ /* NOTREACHED */
}
void