mm: Remove MPX leftovers
Remove MPX leftovers in generic code.
Fixes: 45fc24e89b
("x86/mpx: remove MPX from arch/x86")
Signed-off-by: Jimmy Assarsson <jimmyassarsson@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20200402172507.2786-1-jimmyassarsson@gmail.com
This commit is contained in:

committed by
Borislav Petkov

parent
60abfd08e8
commit
66648766ef
@@ -329,13 +329,6 @@ extern unsigned int kobjsize(const void *objp);
|
||||
# define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_X86_INTEL_MPX)
|
||||
/* MPX specific bounds table or bounds directory */
|
||||
# define VM_MPX VM_HIGH_ARCH_4
|
||||
#else
|
||||
# define VM_MPX VM_NONE
|
||||
#endif
|
||||
|
||||
#ifndef VM_GROWSUP
|
||||
# define VM_GROWSUP VM_NONE
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user