From: Anton Blanchard Date: Wed, 10 Feb 2010 01:07:19 +0000 (+0000) Subject: powerpc: Fix lwsync patching code on 64bit X-Git-Tag: v2.6.34-rc1~271^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53eae2281ad2607fa66a8ad1cb06186c8900da56;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed