From: Nicolas Pitre Date: Mon, 19 Dec 2005 22:20:51 +0000 (+0000) Subject: [ARM] 3210/1: add missing memory barrier helper for NPTL support X-Git-Tag: v2.6.15-rc7~16^2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c612bfd4ed3064fd48a4877a114c8186547367b;p=pandora-kernel.git [ARM] 3210/1: add missing memory barrier helper for NPTL support Patch from Nicolas Pitre Strictly speaking, the NPTL kernel helpers are required for pre ARMv6 only. They are available on ARMv6+ as well for obvious compatibility reasons. However there are cases where extra memory barriers are needed when using an SMP ARMv6 machine but not on pre-ARMv6. This patch adds a memory barrier kernel helper that glibc can use as needed for pre-ARMv6 binaries to be forward compatible with an SMP kernel on ARMv6, as well as the necessary dmb instructions to the cmpxchg helper. Signed-off-by: Nicolas Pitre Acked-by: Daniel Jacobowitz Signed-off-by: Russell King --- Reading git-diff-tree failed