diff options
author | David Gibson <dwg@au1.ibm.com> | 2009-12-16 14:29:56 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-18 14:55:44 +1100 |
commit | a1128f8f0ff06ccbea5d6b4a69446b506c57bfbc (patch) | |
tree | b537d9cbe2678b4c6a986d95918c1ca2e4fd1a9c /block | |
parent | c3a66359398028cd8e5f32611950dc7dc32ea2f2 (diff) |
powerpc/mm: Fix stupid bug in subpge protection handling
Commit d28513bc7f675d28b479db666d572e078ecf182d ("Fix bug in pagetable
cache cleanup with CONFIG_PPC_SUBPAGE_PROT"), itself a fix for
breakage caused by an earlier clean up patch of mine, contains a
stupid bug. I changed the parameters of the subpage_protection()
function, but failed to update one of the callers.
This patch fixes it, and replaces a void * with a typed pointer so
that the compiler will warn on such an error in future.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions