summaryrefslogtreecommitdiff
path: root/arch/sh/include/uapi/asm/cpu-features.h
AgeCommit message (Collapse)AuthorFilesLines
2016-08-05sh: add AT_HWCAP flag for J-Core cas.l instructionRich Felker1-0/+1
The J-Core cpu has, as an ISA extension, an atomic compare-and-swap instruction cas.l which applications need to use (instead the imask or gusa atomic models, which are fundamentally limited to UP) for synchronization in order to be compatible with SMP systems. Provide a hwcap flag so that it's possible to do runtime selection and support both. Signed-off-by: Rich Felker <dalias@libc.org>
2012-10-09UAPI: (Scripted) Disintegrate arch/sh/include/asmDavid Howells1-0/+26
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>