Use separate reentrancy structures for each core.
A locking implementation based on Lamport's bakery.
Make sure lock owner is invalid when lock is not held.
Support for invalidating data and method cache.
Invalidate data cache when acquiring lock.
Support for invalidation of data and method cache.
Allocate reentrancy structures with malloc().
Add define to avoid any global reentrancy structure.
No locking or reentrancy structures when compiling for RTEMS.
Merge branch 'reentrancy'
Use actual frequency for _CLOCKS_PER_SEC_ macro.
Merge branch 'master' into swscache

Conflicts:
	libgloss/patmos/Makefile.in
	libgloss/patmos/crt0.c
disable poison