summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/include/asm/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sandbox/include/asm/types.h')
-rw-r--r--arch/sandbox/include/asm/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h
index a9872194d9..d471d257be 100644
--- a/arch/sandbox/include/asm/types.h
+++ b/arch/sandbox/include/asm/types.h
@@ -7,6 +7,13 @@
* 64 bit
*/
#define INTERNAL_SIZE_T unsigned long
+
+/*
+ * This is a Kconfig variable in the Kernel, but we want to detect
+ * this during compile time, so we set it here.
+ */
+#define CONFIG_PHYS_ADDR_T_64BIT
+
#endif
typedef unsigned short umode_t;