x86/ldt: Define LDT_END_ADDR
[platform/kernel/linux-rpi.git] / arch / x86 / include / asm / pgtable_32_types.h
index 7297810..b0bc0ff 100644 (file)
@@ -53,6 +53,8 @@ extern bool __vmalloc_start_set; /* set once high_memory is set */
 #define LDT_BASE_ADDR          \
        ((CPU_ENTRY_AREA_BASE - PAGE_SIZE) & PMD_MASK)
 
+#define LDT_END_ADDR           (LDT_BASE_ADDR + PMD_SIZE)
+
 #define PKMAP_BASE             \
        ((LDT_BASE_ADDR - PAGE_SIZE) & PMD_MASK)