diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-11-07 13:12:03 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-07 13:31:13 +1100 |
commit | 76032de898f34db55b5048349db56557828a1390 (patch) | |
tree | dd92b9155c1b49b20c05b64a86742aeb73a537f8 /arch/powerpc/platforms/pseries/plpar_wrappers.h | |
parent | 2249ca9d60d3a8a1f6f223f0f0a0283fcb7ce33e (diff) | |
download | lwn-76032de898f34db55b5048349db56557828a1390.tar.gz lwn-76032de898f34db55b5048349db56557828a1390.zip |
[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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/plpar_wrappers.h')
-rw-r--r-- | arch/powerpc/platforms/pseries/plpar_wrappers.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/platforms/pseries/plpar_wrappers.h b/arch/powerpc/platforms/pseries/plpar_wrappers.h index 382f8c5b0e7c..3bd1b3e06003 100644 --- a/arch/powerpc/platforms/pseries/plpar_wrappers.h +++ b/arch/powerpc/platforms/pseries/plpar_wrappers.h @@ -107,14 +107,4 @@ static inline long plpar_put_term_char(unsigned long termno, unsigned long len, lbuf[1]); } -static inline long plpar_set_xdabr(unsigned long address, unsigned long flags) -{ - return plpar_hcall_norets(H_SET_XDABR, address, flags); -} - -static inline long plpar_set_dabr(unsigned long val) -{ - return plpar_hcall_norets(H_SET_DABR, val); -} - #endif /* _PSERIES_PLPAR_WRAPPERS_H */ |