Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc6adfb3 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras
Browse files

[POWERPC] Fix iSeries_hpte_insert prototype



Commit 1189be65 ([POWERPC] Use 1TB
segments) added an argument to hpte_insert.

Also make iSeries_hpte_insert static.

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent bfce5c3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;