diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-14 03:09:16 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-14 03:09:16 -0400 |
commit | 0e29bb1a4ef69120a614391a649510010031dd8a (patch) | |
tree | 2795723298f7bd68eedbcb7e01f4673d12fb5258 | |
parent | 20f48ccfa015d8b8391bbf07fc27618453f44969 (diff) |
powerpc: move iSeries/HvCallHpt.h to platforms/iseries/call_hpt.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-rw-r--r-- | arch/powerpc/platforms/iseries/call_hpt.h (renamed from include/asm-ppc64/iSeries/HvCallHpt.h) | 7 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/htab.c | 3 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/setup.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-ppc64/iSeries/HvCallHpt.h b/arch/powerpc/platforms/iseries/call_hpt.h index 43a1969230b8..321f3bb7a8f5 100644 --- a/include/asm-ppc64/iSeries/HvCallHpt.h +++ b/arch/powerpc/platforms/iseries/call_hpt.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * HvCallHpt.h | ||
3 | * Copyright (C) 2001 Mike Corrigan IBM Corporation | 2 | * Copyright (C) 2001 Mike Corrigan IBM Corporation |
4 | * | 3 | * |
5 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
@@ -16,8 +15,8 @@ | |||
16 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ | 17 | */ |
19 | #ifndef _HVCALLHPT_H | 18 | #ifndef _PLATFORMS_ISERIES_CALL_HPT_H |
20 | #define _HVCALLHPT_H | 19 | #define _PLATFORMS_ISERIES_CALL_HPT_H |
21 | 20 | ||
22 | /* | 21 | /* |
23 | * This file contains the "hypervisor call" interface which is used to | 22 | * This file contains the "hypervisor call" interface which is used to |
@@ -99,4 +98,4 @@ static inline void HvCallHpt_addValidate(u32 hpteIndex, u32 hBit, hpte_t *hpte) | |||
99 | HvCall4(HvCallHptAddValidate, hpteIndex, hBit, hpte->v, hpte->r); | 98 | HvCall4(HvCallHptAddValidate, hpteIndex, hBit, hpte->v, hpte->r); |
100 | } | 99 | } |
101 | 100 | ||
102 | #endif /* _HVCALLHPT_H */ | 101 | #endif /* _PLATFORMS_ISERIES_CALL_HPT_H */ |
diff --git a/arch/powerpc/platforms/iseries/htab.c b/arch/powerpc/platforms/iseries/htab.c index 431b22767d06..c00b8e9e2b3c 100644 --- a/arch/powerpc/platforms/iseries/htab.c +++ b/arch/powerpc/platforms/iseries/htab.c | |||
@@ -14,10 +14,11 @@ | |||
14 | #include <asm/pgtable.h> | 14 | #include <asm/pgtable.h> |
15 | #include <asm/mmu.h> | 15 | #include <asm/mmu.h> |
16 | #include <asm/mmu_context.h> | 16 | #include <asm/mmu_context.h> |
17 | #include <asm/iSeries/HvCallHpt.h> | ||
18 | #include <asm/abs_addr.h> | 17 | #include <asm/abs_addr.h> |
19 | #include <linux/spinlock.h> | 18 | #include <linux/spinlock.h> |
20 | 19 | ||
20 | #include "call_hpt.h" | ||
21 | |||
21 | static spinlock_t iSeries_hlocks[64] __cacheline_aligned_in_smp = | 22 | static spinlock_t iSeries_hlocks[64] __cacheline_aligned_in_smp = |
22 | { [0 ... 63] = SPIN_LOCK_UNLOCKED}; | 23 | { [0 ... 63] = SPIN_LOCK_UNLOCKED}; |
23 | 24 | ||
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c index b6cf050a8c27..93852c2ee5de 100644 --- a/arch/powerpc/platforms/iseries/setup.c +++ b/arch/powerpc/platforms/iseries/setup.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include <asm/cache.h> | 45 | #include <asm/cache.h> |
46 | #include <asm/sections.h> | 46 | #include <asm/sections.h> |
47 | #include <asm/abs_addr.h> | 47 | #include <asm/abs_addr.h> |
48 | #include <asm/iSeries/HvCallHpt.h> | ||
49 | #include <asm/iSeries/HvLpConfig.h> | 48 | #include <asm/iSeries/HvLpConfig.h> |
50 | #include <asm/iSeries/HvCallEvent.h> | 49 | #include <asm/iSeries/HvCallEvent.h> |
51 | #include <asm/iSeries/HvCallXm.h> | 50 | #include <asm/iSeries/HvCallXm.h> |
@@ -60,6 +59,7 @@ | |||
60 | #include "processor_vpd.h" | 59 | #include "processor_vpd.h" |
61 | #include "main_store.h" | 60 | #include "main_store.h" |
62 | #include "call_sm.h" | 61 | #include "call_sm.h" |
62 | #include "call_hpt.h" | ||
63 | 63 | ||
64 | extern void hvlog(char *fmt, ...); | 64 | extern void hvlog(char *fmt, ...); |
65 | 65 | ||