diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-03-23 17:05:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-03-23 17:05:43 +0000 |
commit | 18aeccd206e6581339dd7d7a6200670cf222cc35 (patch) | |
tree | 6cf1f0033959ffcb6492a3939dae5a0635d4f0b4 /sys/arch/arm | |
parent | 9e95a4dd7a4a29af2d5d1c32a8192d1f8bc8e93e (diff) |
setroot() is supposed to be safe in all cases, so kill the special cases
for RB_DFLTROOT; ok miod
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/arm32_machdep.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/arm/arm/arm32_machdep.c b/sys/arch/arm/arm/arm32_machdep.c index 14101e786e6..ddb653e6ec9 100644 --- a/sys/arch/arm/arm/arm32_machdep.c +++ b/sys/arch/arm/arm/arm32_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arm32_machdep.c,v 1.27 2007/05/30 17:13:29 miod Exp $ */ +/* $OpenBSD: arm32_machdep.c,v 1.28 2008/03/23 17:05:41 deraadt Exp $ */ /* $NetBSD: arm32_machdep.c,v 1.42 2003/12/30 12:33:15 pk Exp $ */ /* @@ -280,15 +280,6 @@ cpu_startup() initmsgbuf(msgbufaddr, round_page(MSGBUFSIZE)); /* - * Look at arguments passed to us and compute boothowto. - * Default to SINGLE and ASKNAME if no args or - * SINGLE and DFLTROOT if this is a ramdisk kernel. - */ -#ifdef RAMDISK_HOOKS - boothowto = RB_SINGLE | RB_DFLTROOT; -#endif /* RAMDISK_HOOKS */ - - /* * Identify ourselves for the msgbuf (everything printed earlier will * not be buffered). */ |