[PATCH] powerpc: Make ppc_md.set_dabr non 64-bit specific
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 7 Nov 2005 02:12:03 +0000 (13:12 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 7 Nov 2005 02:31:13 +0000 (13:31 +1100)
commit76032de898f34db55b5048349db56557828a1390
treedd92b9155c1b49b20c05b64a86742aeb73a537f8
parent2249ca9d60d3a8a1f6f223f0f0a0283fcb7ce33e
[PATCH] powerpc: Make ppc_md.set_dabr non 64-bit specific

Define ppc_md.set_dabr for both 32 + 64 bit. Cleanup the implementation for
pSeries also, it was needlessly complex. Now we just do two firmware tests at
setup time, and use one of two functions, rather than using one function and
testing on every call.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/process.c
arch/powerpc/platforms/pseries/plpar_wrappers.h
arch/powerpc/platforms/pseries/setup.c
include/asm-powerpc/machdep.h