summaryrefslogtreecommitdiff
path: root/arch/ppc64/kernel/viopath.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-06-22 00:15:37 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 01:46:28 (GMT)
commitdd61ce922770b299081c3e729ea65758ed676034 (patch)
treebf864d4cbb56327011ed9b8d369791ed0a680e31 /arch/ppc64/kernel/viopath.c
parent0bc0ffd5f0854b9143606684fb925f4290ae13e7 (diff)
downloadlinux-fsl-qoriq-dd61ce922770b299081c3e729ea65758ed676034.tar.xz
[PATCH] ppc64 iSeries: eliminate some unused inline functions
This patch removes from the iSeries header files a large number of inline functions that are not used. It also changes the only caller of a HvCallCfg function that is outside HvLpConfig.h to its equivalent HvLpConfig function and no longer includes HvCallCfg.h where it is not needed. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/kernel/viopath.c')
-rw-r--r--arch/ppc64/kernel/viopath.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/viopath.c b/arch/ppc64/kernel/viopath.c
index 4e5c36e..ef52404 100644
--- a/arch/ppc64/kernel/viopath.c
+++ b/arch/ppc64/kernel/viopath.c
@@ -46,7 +46,6 @@
#include <asm/iSeries/ItExtVpdPanel.h>
#include <asm/iSeries/HvLpEvent.h>
#include <asm/iSeries/HvLpConfig.h>
-#include <asm/iSeries/HvCallCfg.h>
#include <asm/iSeries/mf.h>
#include <asm/iSeries/vio.h>
@@ -364,7 +363,7 @@ void vio_set_hostlp(void)
* while we're active
*/
viopath_ourLp = HvLpConfig_getLpIndex();
- viopath_hostLp = HvCallCfg_getHostingLpIndex(viopath_ourLp);
+ viopath_hostLp = HvLpConfig_getHostingLpIndex(viopath_ourLp);
if (viopath_hostLp != HvLpIndexInvalid)
vio_setHandler(viomajorsubtype_config, handleConfig);