diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-10-12 02:05:14 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-17 08:30:08 -0400 |
commit | dc6adfb33faf3ca517bf882d859e15b005460961 (patch) | |
tree | 72815fc4eb94df3a48d2b70c2674c37f39453645 /arch/powerpc/platforms/iseries/htab.c | |
parent | bfce5c3ce5923f4583ae10b18e4667668c0201dd (diff) |
[POWERPC] Fix iSeries_hpte_insert prototype
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>
Diffstat (limited to 'arch/powerpc/platforms/iseries/htab.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/htab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/htab.c b/arch/powerpc/platforms/iseries/htab.c index 15a7097e5dd7..f99c6c4b6985 100644 --- a/arch/powerpc/platforms/iseries/htab.c +++ b/arch/powerpc/platforms/iseries/htab.c | |||
@@ -39,9 +39,9 @@ static inline void iSeries_hunlock(unsigned long slot) | |||
39 | spin_unlock(&iSeries_hlocks[(slot >> 4) & 0x3f]); | 39 | spin_unlock(&iSeries_hlocks[(slot >> 4) & 0x3f]); |
40 | } | 40 | } |
41 | 41 | ||
42 | long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va, | 42 | static long iSeries_hpte_insert(unsigned long hpte_group, unsigned long va, |
43 | unsigned long pa, unsigned long rflags, | 43 | unsigned long pa, unsigned long rflags, |
44 | unsigned long vflags, int psize) | 44 | unsigned long vflags, int psize, int ssize) |
45 | { | 45 | { |
46 | long slot; | 46 | long slot; |
47 | struct hash_pte lhpte; | 47 | struct hash_pte lhpte; |