diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-07-13 17:52:12 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-07-13 18:42:38 +1000 |
commit | a2ced11b6af59854cc2a2791dccd8b6c0da2f733 (patch) | |
tree | 5f3d913c90c3836ce6b9e84a09d475de47de994a /include/asm-powerpc/iseries | |
parent | c59acae85409fdf5d7574e90009c8410daf38938 (diff) | |
download | kernel_goldelico_gta04-a2ced11b6af59854cc2a2791dccd8b6c0da2f733.zip kernel_goldelico_gta04-a2ced11b6af59854cc2a2791dccd8b6c0da2f733.tar.gz kernel_goldelico_gta04-a2ced11b6af59854cc2a2791dccd8b6c0da2f733.tar.bz2 |
[POWERPC] iseries: Make HvLpConfig_get(Primary)LpIndex functions
HvLpConfig_get(Primary)LpIndex are currently static inlines that return
fields from the itLpNaca, if we make them real functions we can make the
itLpNaca private to iSeries.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/asm-powerpc/iseries')
-rw-r--r-- | include/asm-powerpc/iseries/hv_lp_config.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/asm-powerpc/iseries/hv_lp_config.h b/include/asm-powerpc/iseries/hv_lp_config.h index df8b207..a006fd1 100644 --- a/include/asm-powerpc/iseries/hv_lp_config.h +++ b/include/asm-powerpc/iseries/hv_lp_config.h @@ -25,7 +25,6 @@ #include <asm/iseries/hv_call_sc.h> #include <asm/iseries/hv_types.h> -#include <asm/iseries/it_lp_naca.h> enum { HvCallCfg_Cur = 0, @@ -44,16 +43,8 @@ enum { #define HvCallCfgGetHostingLpIndex HvCallCfg + 32 extern HvLpIndex HvLpConfig_getLpIndex_outline(void); - -static inline HvLpIndex HvLpConfig_getLpIndex(void) -{ - return itLpNaca.xLpIndex; -} - -static inline HvLpIndex HvLpConfig_getPrimaryLpIndex(void) -{ - return itLpNaca.xPrimaryLpIndex; -} +extern HvLpIndex HvLpConfig_getLpIndex(void); +extern HvLpIndex HvLpConfig_getPrimaryLpIndex(void); static inline u64 HvLpConfig_getMsChunks(void) { |