NetBSD/sys/arch/powerpc
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
..
booke __HAVE_PREEEMPTION -> __HAVE_PREEMPTION 2015-04-14 22:36:53 +00:00
conf Define ${LINKSCRIPT} in one place. 2015-08-24 14:04:24 +00:00
fpu Avoid unncessary use of double in the kernel. With this change, 2014-08-12 20:27:10 +00:00
ibm4xx Use IPL_VM for dwc2_intr and mark as MP safe where possible. 2015-07-30 07:32:40 +00:00
include Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant 2015-08-27 12:30:50 +00:00
isa Call kmem_intr_free() with kmem_intr_alloc-ed memory instead of free(). 2013-06-09 12:52:33 +00:00
marvell Set pc_intr_map only once. 2013-07-05 02:18:37 +00:00
oea Don't preserve PSL_FP/PSL_VEC in cpu_setmcontext. 2015-07-06 05:20:50 +00:00
pci src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
pic ddb MP support 2015-01-23 07:27:05 +00:00
powerpc Back out last change. Clearing PSL_FP/PSL_VEC is handled by child_return. 2015-07-06 05:25:29 +00:00
stand Fixed mkbootimage for 64-bit architectures. Now I can create a working 2014-04-22 21:37:52 +00:00
tools/chrpicon
Makefile
Makefile.inc