NetBSD/sys/arch/aarch64/include
pooka 01d7ebdd80 Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
pthread types in C++ builds, attempt 2.

The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like.  To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.

Fixes at least Rumprun w/ gcc 5.1/5.2.  Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.

Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.

Based on the patch from Christos in lib/49989.
2015-08-27 12:30:50 +00:00
..
Makefile
ansi.h
aout_machdep.h
armreg.h ARM spells the System Control Register SCTLR 2015-04-27 06:54:12 +00:00
asm.h
bswap.h
bus_defs.h
bus_funcs.h
byte_swap.h Correct 32 and 64 bit byte swap inlines 2014-10-29 01:33:39 +00:00
cdefs.h
cpu.h
cpu_counter.h
db_machdep.h
disklabel.h
elf_machdep.h
endian.h
endian_machdep.h
fenv.h
float.h
frame.h
ieee.h
ieeefp.h
int_const.h
int_fmtio.h Back out last change. 2014-08-13 19:51:27 +00:00
int_limits.h
int_mwgwtypes.h
int_types.h
intr.h
kcore.h
limits.h
lock.h Use <sys/common_lock.h> for !__arm__ 2015-06-26 18:27:52 +00:00
locore.h
math.h
mcontext.h
mutex.h
param.h
pcb.h
pmap.h
pmc.h
proc.h
profile.h
psl.h
pte.h
ptrace.h #include <arm/ptrace.h> instead of <arm/asm.h> 2014-08-11 22:09:08 +00:00
reg.h
rwlock.h
setjmp.h
signal.h
sysarch.h
trap.h
types.h Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant 2015-08-27 12:30:50 +00:00
vmparam.h Add some definitions for building RUMP libraries with MKCOMPAT. 2014-08-11 22:08:34 +00:00
wchar_limits.h