git: atomic: Alway use inline functions.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jan 27 06:29:19 PST 2019


commit 030e3428e0c23c47cef4dfab51f988a8fa665d19
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Jan 27 22:06:08 2019 +0800

    atomic: Alway use inline functions.
    
    Originally only builtin functions use the inline version of the
    atomic ops, while modules only use real function call, which is
    designed for binary compatibility.  However, this kind of
    compatibility is not necessary for DragonFly.

Summary of changes:
 sys/cpu/x86_64/include/atomic.h   | 111 --------------------------------------
 sys/cpu/x86_64/misc/atomic.c      |  47 ----------------
 sys/platform/pc64/conf/files      |   2 -
 sys/platform/vkernel64/conf/files |   2 -
 4 files changed, 162 deletions(-)
 delete mode 100644 sys/cpu/x86_64/misc/atomic.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/030e3428e0c23c47cef4dfab51f988a8fa665d19


-- 
DragonFly BSD source repository



More information about the Commits mailing list