]> git.baikalelectronics.ru Git - kernel.git/commit
FRV: Add support for emulation of userspace atomic ops [try #2]
authorDavid Howells <dhowells@redhat.com>
Thu, 10 Apr 2008 15:10:55 +0000 (16:10 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Apr 2008 20:41:29 +0000 (13:41 -0700)
commit2e50b29231b7c5c14255391932a5721647d2d23a
treecd2ac2f33c7da86b515087260d93179b31fd1671
parenta99e41d48f0025351b9b8079c49be87f2935670b
FRV: Add support for emulation of userspace atomic ops [try #2]

Use traps 120-126 to emulate atomic cmpxchg32, xchg32, and XOR-, OR-, AND-, SUB-
and ADD-to-memory operations for userspace.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/entry-table.S
arch/frv/kernel/entry.S
arch/frv/kernel/traps.c
include/asm-frv/spr-regs.h