Module Name:    src
Committed By:   andvar
Date:           Sat Dec 23 18:59:27 UTC 2023

Modified Files:
        src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
Remove "#ifdef RAMDISK_HOOKS" block, RB_DFLTROOT boot flag is obsolete long ago.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/zaurus/zaurus/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/zaurus/zaurus/machdep.c
diff -u src/sys/arch/zaurus/zaurus/machdep.c:1.52 src/sys/arch/zaurus/zaurus/machdep.c:1.53
--- src/sys/arch/zaurus/zaurus/machdep.c:1.52	Thu Oct 12 11:33:39 2023
+++ src/sys/arch/zaurus/zaurus/machdep.c	Sat Dec 23 18:59:27 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.52 2023/10/12 11:33:39 skrll Exp $	*/
+/*	$NetBSD: machdep.c,v 1.53 2023/12/23 18:59:27 andvar Exp $	*/
 /*	$OpenBSD: zaurus_machdep.c,v 1.25 2006/06/20 18:24:04 todd Exp $	*/
 
 /*
@@ -107,7 +107,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.52 2023/10/12 11:33:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.53 2023/12/23 18:59:27 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -674,9 +674,6 @@ initarm(void *arg)
 		boothowto = RB_AUTOBOOT;
 	}
 	*magicaddr = 0xdeadbeef;
-#ifdef RAMDISK_HOOKS
-        boothowto |= RB_DFLTROOT;
-#endif /* RAMDISK_HOOKS */
 	if (boothowto & RB_MD1) {
 		/* serial console */
 		console = "ffuart";

Reply via email to