From: Michael Ellerman Date: Wed, 25 Mar 2015 09:11:55 +0000 (+1100) Subject: powerpc/mm: Change setbat() to take a pgprot_t rather than flags X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dd4e4f6fe9495f02d4594bd460b84008a3e8e93;p=pandora-kernel.git 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 --- Reading git-diff-tree failed