[POWERPC] Fix iSeries_hpte_insert prototype
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 12 Oct 2007 06:05:14 +0000 (16:05 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 17 Oct 2007 12:30:08 +0000 (22:30 +1000)
Commit 1189be6508d45183013ddb82b18f4934193de274 ([POWERPC] Use 1TB
segments) added an argument to hpte_insert.

Also make iSeries_hpte_insert static.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/iseries/htab.c

index 15a7097e5dd742ab36f368ed4cabea7467e85177..f99c6c4b698559ece7f60e6bb41a5ef4fd0e66bd 100644 (file)
@@ -39,9 +39,9 @@ static inline void iSeries_hunlock(unsigned long slot)
        spin_unlock(&iSeries_hlocks[(slot >> 4) & 0x3f]);
 }
 
-long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va,
+static long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va,
                         unsigned long pa, unsigned long rflags,
-                        unsigned long vflags, int psize)
+                        unsigned long vflags, int psize, int ssize)
 {
        long slot;
        struct hash_pte lhpte;