diff options
author | Rich Felker | 2016-04-23 01:29:13 +0200 |
---|---|---|
committer | Rich Felker | 2016-08-05 05:29:32 +0200 |
commit | 834da197058bebcb343320dafb8b62d416d4038c (patch) | |
tree | 86014306af44c06b216683dfbc20aa2a8e997b18 /arch/sh/include/uapi/asm/ioctls.h | |
parent | sh: add support for J-Core J2 processor (diff) | |
download | kernel-qcow2-linux-834da197058bebcb343320dafb8b62d416d4038c.tar.gz kernel-qcow2-linux-834da197058bebcb343320dafb8b62d416d4038c.tar.xz kernel-qcow2-linux-834da197058bebcb343320dafb8b62d416d4038c.zip |
sh: add AT_HWCAP flag for J-Core cas.l instruction
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>
Diffstat (limited to 'arch/sh/include/uapi/asm/ioctls.h')
0 files changed, 0 insertions, 0 deletions