Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arc/arc Use #ifdef MEMORY_DISK_IS_ROOT rather than ...



details:   https://anonhg.NetBSD.org/src/rev/09668a59d9ff
branches:  trunk
changeset: 523845:09668a59d9ff
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Mar 17 04:41:57 2002 +0000

description:
Use #ifdef MEMORY_DISK_IS_ROOT rather than MEMORY_DISK_HOOKS
to disable RB_ASKNAME.

diffstat:

 sys/arch/arc/arc/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 0210f4708d8b -r 09668a59d9ff sys/arch/arc/arc/machdep.c
--- a/sys/arch/arc/arc/machdep.c        Sun Mar 17 04:34:41 2002 +0000
+++ b/sys/arch/arc/arc/machdep.c        Sun Mar 17 04:41:57 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.66 2002/03/17 04:34:41 tsutsui Exp $     */
+/*     $NetBSD: machdep.c,v 1.67 2002/03/17 04:41:57 tsutsui Exp $     */
 /*     $OpenBSD: machdep.c,v 1.36 1999/05/22 21:22:19 weingart Exp $   */
 
 /*
@@ -252,11 +252,11 @@
         * Default to SINGLE and ASKNAME if no args or
         * SINGLE and DFLTROOT if this is a ramdisk kernel.
         */
-#ifdef MEMORY_DISK_HOOKS
+#ifdef MEMORY_DISK_IS_ROOT
        boothowto = RB_SINGLE;
 #else
        boothowto = RB_SINGLE | RB_ASKNAME;
-#endif /* MEMORY_DISK_HOOKS */
+#endif /* MEMORY_DISK_IS_ROOT */
 #ifdef KADB
        boothowto |= RB_KDB;
 #endif



Home | Main Index | Thread Index | Old Index