lx_emul: add missing fpu/api.h to shadow pgtable.h

Issue #4450
This commit is contained in:
Alexander Boettcher 2022-03-01 17:39:58 +01:00 committed by Christian Helmuth
parent 279f038b9e
commit 88a6a9d628

View File

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