[POWERPC] Fix iSeries_hpte_insert prototype

Commit 1189be6508 ([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>
This commit is contained in:
Stephen Rothwell 2007-10-12 16:05:14 +10:00 committed by Paul Mackerras
parent bfce5c3ce5
commit dc6adfb33f

View 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;