DragonFly- master sys/cpu/amd64/include atomic.h cpufunc.h sys/cpu/i386/include atomic.h sys/netproto/smb smb_subr.h

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Apr 24 10:23:52 PDT 2009

commit c4fb66bdd006ce5099c0db770aaaf729b850cedc
Author: Alex <alex at thinkalex.none>
Date:   Fri Apr 24 13:54:22 2009 +0100

    Fix various clang compile issues
    1) remove uses of __label__, which is not supported by llvm/clang
    2) remove uses of register type var __asm("ecx") and other variable
    register-binding as it is not supported by llvm/clang and is superfluous
    3) add an ugly hack, conditionalized on __clang__, to allow correct
    compilation of atomic_intr_cond_try()
    Submitted-by: Alex Hornung
    Cherry-Picked-From: Alex Hornung's leaf repo

Summary of changes:
 sys/cpu/amd64/include/atomic.h  |    4 ++++
 sys/cpu/amd64/include/cpufunc.h |   10 ++--------
 sys/cpu/i386/include/atomic.h   |    6 +++++-
 sys/netproto/smb/smb_subr.h     |    1 -
 4 files changed, 11 insertions(+), 10 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list