Commit 0634a632 authored by Paul Mundt's avatar Paul Mundt Committed by Arnd Bergmann
Browse files

asm-generic: add dummy pgprot_noncached()

Most architectures now provide a pgprot_noncached(), the
remaining ones can simply use an dummy default implementation,
except for cris and xtensa, which should override the
default appropriately.
Signed-off-by: default avatarArnd Bergmann <>
Cc: Jesper Nilsson <>
Cc: Chris Zankel <>
Cc: Magnus Damm <>
parent 32a9ff9c
......@@ -129,6 +129,10 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addres
#define move_pte(pte, prot, old_addr, new_addr) (pte)
#ifndef pgprot_noncached
#define pgprot_noncached(prot) (prot)
#ifndef pgprot_writecombine
#define pgprot_writecombine pgprot_noncached
Markdown is supported
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