Fix various clang compile issues
authorAlex <alex@thinkalex.none>
Fri, 24 Apr 2009 12:54:22 +0000 (13:54 +0100)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 24 Apr 2009 17:19:12 +0000 (10:19 -0700)
commitc4fb66bdd006ce5099c0db770aaaf729b850cedc
tree107e45b274c89bc6cc0e563c7119457d9aa3a752
parentcadb984bf2529c6bb262250bd3ac9f41193cded7
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
sys/cpu/amd64/include/atomic.h
sys/cpu/amd64/include/cpufunc.h
sys/cpu/i386/include/atomic.h
sys/netproto/smb/smb_subr.h