]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] Make pSeries_lpar_hpte_insert static
authorGeoff Levand <geoffrey.levand@am.sony.com>
Thu, 5 Oct 2006 18:35:10 +0000 (11:35 -0700)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Oct 2006 06:33:04 +0000 (16:33 +1000)
Change the powerpc hpte_insert routines now called through ppc_md to
static scope.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_native_64.c
arch/powerpc/platforms/pseries/lpar.c
include/asm-powerpc/mmu.h

index c90f124f3c71caed159f9eb04b6ab5b85d6194ed..6f1016acdbf691a9c4dbed2b65a111cdc1dff4d2 100644 (file)
@@ -123,7 +123,7 @@ static inline void native_unlock_hpte(hpte_t *hptep)
        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 vflags, int psize)
 {
index 1820a0b0a8c6e55cd3f7351e34ea68a2f0110ab5..721436db3ef0bf87967b2982ebe6deecfea4db83 100644 (file)
@@ -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 rflags, unsigned long vflags,
                              int psize)
@@ -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
  * 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;
        unsigned long flags = 0;
index c3fc7a28e3cd0cb73dd245c727cf0b3d979ee082..41c8c9c5a254e10339ceaa6fcef11ff4f626f605 100644 (file)
@@ -248,21 +248,6 @@ extern void hpte_init_native(void);
 extern void hpte_init_lpar(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 slb_initialize(void);
 extern void slb_flush_and_rebolt(void);