projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/ldt: Define LDT_END_ADDR
[platform/kernel/linux-rpi.git]
/
arch
/
x86
/
include
/
asm
/
pgtable_32_types.h
diff --git
a/arch/x86/include/asm/pgtable_32_types.h
b/arch/x86/include/asm/pgtable_32_types.h
index
7297810
..
b0bc0ff
100644
(file)
--- a/
arch/x86/include/asm/pgtable_32_types.h
+++ b/
arch/x86/include/asm/pgtable_32_types.h
@@
-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)