summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-11-26 23:16:46 +0000
committerkmacy <kmacy@FreeBSD.org>2006-11-26 23:16:46 +0000
commit4a1a15b72c659a052c002a4595ef382af9007dfd (patch)
tree6e7cce9b5eaf9d0e1b7c4cfeb5ae02030b6c4341 /sys/conf/kern.mk
parent17650ac51d6ca87cfeb2de8c59df7a6cb9fcfafb (diff)
downloadFreeBSD-src-4a1a15b72c659a052c002a4595ef382af9007dfd.zip
FreeBSD-src-4a1a15b72c659a052c002a4595ef382af9007dfd.tar.gz
Fix module loading for sparc on machines with greater than 1GB of RAM
t1# uname -m sparc64 t1# sysctl hw.physmem hw.physmem: 17150509056 t1# kldload reiserfs t1# kldstat Id Refs Address Size Name 1 3 0xc0000000 58cc38 kernel 2 1 0xcbe70000 234000 xfs.ko 3 1 0xcc0b6000 110000 reiserfs.ko
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index fed6657..34c6cfa 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -56,7 +56,7 @@ INLINE_LIMIT?= 15000
# operations which it has a tendency to do.
#
.if ${MACHINE_ARCH} == "sparc64"
-CFLAGS+= -mcmodel=medlow -msoft-float
+CFLAGS+= -mcmodel=medany -msoft-float
INLINE_LIMIT?= 15000
.endif
OpenPOWER on IntegriCloud