Home
last modified time | relevance | path

Searched hist:"5 dd4e4f6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/mm/
H A Dmmu_decl.h5dd4e4f6 Wed Mar 25 04:11:55 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> 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>
5dd4e4f6 Wed Mar 25 04:11:55 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> 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>