diff options
author | alc <alc@FreeBSD.org> | 1999-08-18 04:08:31 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-08-18 04:08:31 +0000 |
commit | 999b998faadf98cd252ae30361406a176da029bd (patch) | |
tree | 84d98ec8a5702a071d3e1d0cf2972575f512b794 /sys/conf/files.i386 | |
parent | c3587e5dcb4c284938b70a3896c2d0f07b9cd626 (diff) | |
download | FreeBSD-src-999b998faadf98cd252ae30361406a176da029bd.zip FreeBSD-src-999b998faadf98cd252ae30361406a176da029bd.tar.gz |
Create callable (non-inline) versions of the atomic_OP_TYPE functions
that are linked into the kernel. The KLD compilation options are
changed to call these functions, rather than in-lining the
atomic operations.
This approach makes atomic operations from KLDs significantly
faster on UP systems (though somewhat slower on SMP systems).
PR: i386/13111
Submitted by: peter.jeremy@alcatel.com.au
Diffstat (limited to 'sys/conf/files.i386')
-rw-r--r-- | sys/conf/files.i386 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index cf586fc..62e3269 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -1,7 +1,7 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $Id: files.i386,v 1.257 1999/08/07 12:19:41 peter Exp $ +# $Id: files.i386,v 1.258 1999/08/09 10:34:38 phk Exp $ # # The long compile-with and dependency lines are required because of # limitations in config: backslash-newline doesn't work in strings, and @@ -117,6 +117,8 @@ i386/eisa/dpt_eisa.c optional eisa dpt i386/eisa/eisaconf.c optional eisa i386/eisa/if_fea.c optional fea i386/eisa/if_vx_eisa.c optional vx +i386/i386/atomic.c standard \ + compile-with "${CC} -c ${CFLAGS} ${DEFINED_PROF:S/^$/-fomit-frame-pointer/} $<" i386/i386/autoconf.c standard i386/i386/bios.c standard i386/i386/bioscall.s standard |