summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-06-21 22:33:56 +0000
committerjake <jake@FreeBSD.org>2002-06-21 22:33:56 +0000
commit6e6ef32477ccb845f7f0d07d4c51f8d1e59ad51f (patch)
tree454e992e05e29a5b111cfdb53a270b213d05c86d /sys/boot
parent1bbba0d1b817c257471e0312d5dd4fc129b57572 (diff)
downloadFreeBSD-src-6e6ef32477ccb845f7f0d07d4c51f8d1e59ad51f.zip
FreeBSD-src-6e6ef32477ccb845f7f0d07d4c51f8d1e59ad51f.tar.gz
Enable UFS1_AND_UFS2 support for sparc64 by default. Booting from ufs1 or
ufs2 filesystems seems to work fine.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/ufsread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c
index b0a1547..3949deb 100644
--- a/sys/boot/common/ufsread.c
+++ b/sys/boot/common/ufsread.c
@@ -122,7 +122,9 @@ lookup(const char *path)
return dt == DT_REG ? ino : 0;
}
+#ifndef __sparc64__
#define UFS1_ONLY
+#endif
#ifdef UFS1_ONLY
static ssize_t
OpenPOWER on IntegriCloud