Skip to content
Commit 3fd3a74f authored by Carlos O'Donell's avatar Carlos O'Donell Committed by Kyle McMartin
Browse files

[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: default avatarJoel Soete <soete.joel@tiscali.be>
Signed-off-by: default avatarCarlos O'Donell <carlos@parisc-linux.org>
Signed-off-by: default avatarKyle McMartin <kyle@parisc-linux.org>
parent c8224e00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment