commit | 5dd4e4f6fe9495f02d4594bd460b84008a3e8e93 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Wed Mar 25 20:11:55 2015 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Apr 07 17:15:13 2015 +1000 |
tree | 5a1d671fc5d6d27ffc340aad7705c5fe848b2355 | |
parent | 911083350e010e23719a8ecb4dd5f170f22854eb [diff] |
powerpc/mm: Change setbat() to take a pgprot_t rather than flags The callers of setbat() are actually passing a pgprot_t for the flags parameter. This doesn't matter unless STRICT_MM_TYPECHECKS is enabled. So we can turn that on without breaking the build, change setbat() to take a pgprot_t and have it convert it to an unsigned long internally. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>