Commit 035223fb authored by Geoff Levand's avatar Geoff Levand Committed by Paul Mackerras

[POWERPC] Make pSeries_lpar_hpte_insert static

Change the powerpc hpte_insert routines now called through ppc_md to
static scope.
Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 0f03a43b
...@@ -123,7 +123,7 @@ static inline void native_unlock_hpte(hpte_t *hptep) ...@@ -123,7 +123,7 @@ static inline void native_unlock_hpte(hpte_t *hptep)
clear_bit(HPTE_LOCK_BIT, word); clear_bit(HPTE_LOCK_BIT, word);
} }
long native_hpte_insert(unsigned long hpte_group, unsigned long va, static long native_hpte_insert(unsigned long hpte_group, unsigned long va,
unsigned long pa, unsigned long rflags, unsigned long pa, unsigned long rflags,
unsigned long vflags, int psize) unsigned long vflags, int psize)
{ {
......
...@@ -282,7 +282,7 @@ void vpa_init(int cpu) ...@@ -282,7 +282,7 @@ void vpa_init(int cpu)
} }
} }
long pSeries_lpar_hpte_insert(unsigned long hpte_group, static long pSeries_lpar_hpte_insert(unsigned long hpte_group,
unsigned long va, unsigned long pa, unsigned long va, unsigned long pa,
unsigned long rflags, unsigned long vflags, unsigned long rflags, unsigned long vflags,
int psize) int psize)
...@@ -506,7 +506,7 @@ static void pSeries_lpar_hpte_invalidate(unsigned long slot, unsigned long va, ...@@ -506,7 +506,7 @@ static void pSeries_lpar_hpte_invalidate(unsigned long slot, unsigned long va,
* Take a spinlock around flushes to avoid bouncing the hypervisor tlbie * Take a spinlock around flushes to avoid bouncing the hypervisor tlbie
* lock. * lock.
*/ */
void pSeries_lpar_flush_hash_range(unsigned long number, int local) static void pSeries_lpar_flush_hash_range(unsigned long number, int local)
{ {
int i; int i;
unsigned long flags = 0; unsigned long flags = 0;
......
...@@ -248,21 +248,6 @@ extern void hpte_init_native(void); ...@@ -248,21 +248,6 @@ extern void hpte_init_native(void);
extern void hpte_init_lpar(void); extern void hpte_init_lpar(void);
extern void hpte_init_iSeries(void); extern void hpte_init_iSeries(void);
extern long pSeries_lpar_hpte_insert(unsigned long hpte_group,
unsigned long va, unsigned long prpn,
unsigned long rflags,
unsigned long vflags, int psize);
extern long native_hpte_insert(unsigned long hpte_group,
unsigned long va, unsigned long prpn,
unsigned long rflags,
unsigned long vflags, int psize);
extern long iSeries_hpte_insert(unsigned long hpte_group,
unsigned long va, unsigned long prpn,
unsigned long rflags,
unsigned long vflags, int psize);
extern void stabs_alloc(void); extern void stabs_alloc(void);
extern void slb_initialize(void); extern void slb_initialize(void);
extern void slb_flush_and_rebolt(void); extern void slb_flush_and_rebolt(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment