summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/uapi/asm/e820/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/uapi/asm/e820/types.h')
-rw-r--r--arch/x86/include/uapi/asm/e820/types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/x86/include/uapi/asm/e820/types.h b/arch/x86/include/uapi/asm/e820/types.h
index 29391386b63f..3ac962f724f5 100644
--- a/arch/x86/include/uapi/asm/e820/types.h
+++ b/arch/x86/include/uapi/asm/e820/types.h
@@ -1,8 +1,11 @@
#ifndef _UAPI_ASM_E820_TYPES_H
#define _UAPI_ASM_E820_TYPES_H
-/* The maximum number of entries in E820MAP: */
-#define E820MAX 128
+/*
+ * This is the maximum number of entries in struct boot_params::e820_table (the zeropage),
+ * which is part of the x86 boot protocol ABI:
+ */
+#define E820_MAX_ENTRIES_ZEROPAGE 128
#ifndef __ASSEMBLY__