Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34039
b: refs/heads/master
c: a2ced11
h: refs/heads/master
i:
  34037: 0e03a95
  34035: 434a837
  34031: 3eb1b92
v: v3
  • Loading branch information
Michael Ellerman authored and Stephen Rothwell committed Jul 13, 2006
1 parent 703facc commit f3194cf
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c59acae85409fdf5d7574e90009c8410daf38938
refs/heads/master: a2ced11b6af59854cc2a2791dccd8b6c0da2f733
13 changes: 13 additions & 0 deletions trunk/arch/powerpc/platforms/iseries/hvlpconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,22 @@

#include <linux/module.h>
#include <asm/iseries/hv_lp_config.h>
#include <asm/iseries/it_lp_naca.h>

HvLpIndex HvLpConfig_getLpIndex_outline(void)
{
return HvLpConfig_getLpIndex();
}
EXPORT_SYMBOL(HvLpConfig_getLpIndex_outline);

HvLpIndex HvLpConfig_getLpIndex(void)
{
return itLpNaca.xLpIndex;
}
EXPORT_SYMBOL(HvLpConfig_getLpIndex);

HvLpIndex HvLpConfig_getPrimaryLpIndex(void)
{
return itLpNaca.xPrimaryLpIndex;
}
EXPORT_SYMBOL_GPL(HvLpConfig_getPrimaryLpIndex);
1 change: 1 addition & 0 deletions trunk/arch/powerpc/platforms/iseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <asm/iseries/hv_call_event.h>
#include <asm/iseries/hv_call_xm.h>
#include <asm/iseries/it_lp_queue.h>
#include <asm/iseries/it_lp_naca.h>
#include <asm/iseries/mf.h>
#include <asm/iseries/hv_lp_event.h>
#include <asm/iseries/lpar_map.h>
Expand Down
13 changes: 2 additions & 11 deletions trunk/include/asm-powerpc/iseries/hv_lp_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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)
{
Expand Down

0 comments on commit f3194cf

Please sign in to comment.