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.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h
index 3e4a8f7ba3..e29dde377c 100644
--- a/arch/sandbox/include/asm/types.h
+++ b/arch/sandbox/include/asm/types.h
@@ -1,21 +1,8 @@
-#ifndef __ASM_I386_TYPES_H
-#define __ASM_I386_TYPES_H
+/* SPDX-License-Identifier: GPL-2.0-only */
-#include <asm-generic/int-ll64.h>
-
-#ifdef __x86_64__
-/*
- * This is used in dlmalloc. On X86_64 we need it to be
- * 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
+#ifndef __ASM_SANDBOX_TYPES_H
+#define __ASM_SANDBOX_TYPES_H
-#endif
+#include <asm-generic/int-ll64.h>
#endif