lx_emul: add 'pgprot_noncached' to pgtable.h

This commit is contained in:
Sebastian Sumpf 2022-05-04 17:15:01 +02:00 committed by Christian Helmuth
parent fb7282f47a
commit 151a5e2d7f

View File

@ -25,6 +25,10 @@
#include <asm/fpu/api.h>
#endif
#ifndef pgprot_noncached
#define pgprot_noncached(prot) (prot)
#endif
static inline pte_t pte_mkwrite(pte_t pte) { return pte; }
static inline bool __pkru_allows_pkey(u16 pkey, bool write)