diff options
-rw-r--r-- | include/sys/sysmacros.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/sysmacros.h b/include/sys/sysmacros.h index f6b1e28e8..a4a9f3e98 100644 --- a/include/sys/sysmacros.h +++ b/include/sys/sysmacros.h @@ -32,6 +32,7 @@ #include <sys/varargs.h> #include <sys/zone.h> #include <sys/signal.h> +#include <asm/page.h> #ifdef HAVE_SCHED_RT_HEADER #include <linux/sched/rt.h> @@ -111,6 +112,10 @@ #define PAGESIZE PAGE_SIZE #endif +#ifndef PAGESHIFT +#define PAGESHIFT PAGE_SHIFT +#endif + /* from Solaris sys/byteorder.h */ #define BSWAP_8(x) ((x) & 0xff) #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) |