From f592bb74a5ecb38560e31a145ebd1b42e95e4736 Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Sun, 26 Nov 2006 23:16:46 +0000 Subject: [PATCH] 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 --- sys/conf/kern.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index fed6657ace6e..34c6cfa55689 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