aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2005-12-19 22:20:51 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-12-19 22:20:51 +0000
commit7c612bfd4ed3064fd48a4877a114c8186547367b (patch)
treebd307ea5bf9c0ad16ad1a590490d9095107d35fc /arch/mips/oprofile
parent567bd98017d9c9f2ac1c148ddc78c062e8abd398 (diff)
downloadkernel_samsung_smdk4412-7c612bfd4ed3064fd48a4877a114c8186547367b.zip
kernel_samsung_smdk4412-7c612bfd4ed3064fd48a4877a114c8186547367b.tar.gz
kernel_samsung_smdk4412-7c612bfd4ed3064fd48a4877a114c8186547367b.tar.bz2
[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 <nico@cam.org> Acked-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/mips/oprofile')
0 files changed, 0 insertions, 0 deletions