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
This commit is contained in:
Kip Macy 2006-11-26 23:16:46 +00:00
parent 9565e1fac5
commit f592bb74a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164647

View file

@ -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