From: Paul Mackerras Date: Fri, 11 Nov 2005 11:36:34 +0000 (+1100) Subject: powerpc: Fix reading and writing SPRs from xmon on 32-bit X-Git-Tag: v2.6.15-rc1~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=548ccebc2a79c780724529948c79de0613f96776;p=pandora-kernel.git powerpc: Fix reading and writing SPRs from xmon on 32-bit When we created the instructions to read/write SPRs in xmon, we were setting up a ppc64-style procedure descriptor and calling that, which doesn't work in 32-bit. For 32-bit a function pointer just points to the instructions of the function. This fixes it to do the right thing for both 32-bit and 64-bit. Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed