diff options
author | Anton Blanchard <anton@samba.org> | 2010-02-10 02:07:19 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-17 04:03:15 +0100 |
commit | 53eae2281ad2607fa66a8ad1cb06186c8900da56 (patch) | |
tree | e487f6c139bfc8efa075aa8da60967621f0d79d3 /arch/powerpc/lib/copy_32.S | |
parent | powerpc: Rename LWSYNC_ON_SMP to PPC_RELEASE_BARRIER, ISYNC_ON_SMP to PPC_ACQ... (diff) | |
download | linux-53eae2281ad2607fa66a8ad1cb06186c8900da56.tar.xz linux-53eae2281ad2607fa66a8ad1cb06186c8900da56.zip |
powerpc: Fix lwsync patching code on 64bit
do_lwsync_fixups doesn't work on 64bit, we end up writing lwsyncs to the
wrong addresses:
0:mon> di c0000001000bfacc
c0000001000bfacc 7c2004ac lwsync
Since the lwsync section has negative offsets we need to use a signed int
pointer so we sign extend the value.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/lib/copy_32.S')
0 files changed, 0 insertions, 0 deletions