Skip to content
Commit c4687b15 authored by Alex Smith's avatar Alex Smith Committed by Ralf Baechle
Browse files

MIPS: Fix definition of pgprot_writecombine()



If pgprot_writecombine is not #defined, asm-generic/pgtable.h will try
to provide a default implementation by #defining it to pgprot_noncached.
However our implementation is an inline function rather than a #define,
so it was never actually used because of the #define in generic code.

Add "#define pgprot_writecombine pgprot_writecombine" to prevent generic
code from re-defining it.

Signed-off-by: default avatarAlex Smith <alex.smith@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10767/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0ce3417e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment