diff options
author | Carlos O'Donell <carlos@parisc-linux.org> | 2006-04-22 16:47:21 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@hera.kernel.org> | 2006-06-27 19:28:33 -0400 |
commit | 3fd3a74f45c935f7d6d5c2fb48f06324b18826b7 (patch) | |
tree | 552033cbdc4e19b667a25c55e642a172a1ec3b2e /include/asm-parisc/semaphore.h | |
parent | c8224e0074f1dce12e95e53ca469f6fe49cc9101 (diff) |
[PARISC] Use FIXUP_BRANCH_CLOBBER to asm clobber list
Joel Soete noticed correctly that the fixup's clobbers must be listed
as the ASM clobbers. FIXUP_BRANCH in unaligned.c has a new macro which
lists all the clobbers in the fixup, we use this throughout the file
to simplify the process of listing clobbers in the future.
A missing "r1" clobber is added to our uaccess.h for the 64-bit
__put_kernel_asm. Interestingly this is a pretty serious bug since gcc
generates pretty good use of r1 as a temporary and the uses of
__put_kernel_asm are varied and dangerous if r1 is scratched during
an invalid write.
Signed-off-by: Joel Soete <soete.joel@tiscali.be>
Signed-off-by: Carlos O'Donell <carlos@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'include/asm-parisc/semaphore.h')
0 files changed, 0 insertions, 0 deletions