mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
lx_emul: add 'pgprot_noncached' to pgtable.h
This commit is contained in:
parent
fb7282f47a
commit
151a5e2d7f
@ -25,6 +25,10 @@
|
|||||||
#include <asm/fpu/api.h>
|
#include <asm/fpu/api.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef pgprot_noncached
|
||||||
|
#define pgprot_noncached(prot) (prot)
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline pte_t pte_mkwrite(pte_t pte) { return pte; }
|
static inline pte_t pte_mkwrite(pte_t pte) { return pte; }
|
||||||
|
|
||||||
static inline bool __pkru_allows_pkey(u16 pkey, bool write)
|
static inline bool __pkru_allows_pkey(u16 pkey, bool write)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user