summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-11-11 12:36:34 +0100
committerPaul Mackerras <paulus@samba.org>2005-11-11 12:36:34 +0100
commit548ccebc2a79c780724529948c79de0613f96776 (patch)
treeaa905c14945e7afcc8f428564a38ee9f8108c87c /arch/ppc/kernel/asm-offsets.c
parentpowerpc: Initialize secondary CPU setup for 32-bit SMP (diff)
downloadlinux-548ccebc2a79c780724529948c79de0613f96776.tar.xz
linux-548ccebc2a79c780724529948c79de0613f96776.zip
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 <paulus@samba.org>
Diffstat (limited to 'arch/ppc/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions