DragonFly commits List (threaded) for 2009-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
DragonFly-2.3.0.795.gc4fb6 master sys/cpu/amd64/include atomic.h cpufunc.h sys/cpu/i386/include atomic.h sys/netproto/smb smb_subr.h
commit c4fb66bdd006ce5099c0db770aaaf729b850cedc
Author: Alex <alex@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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c4fb66bdd006ce5099c0db770aaaf729b850cedc
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]