Skip to contentSkip to conversation

do not include mpx.h in exec.c

PATCH New Dave Hansen 2 participants 2 messages Nov 18, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 do not include mpx.h in exec.c

From: Dave Hansen <[email protected]>

We no longer need mpx.h in exec.c. This will obviously also break the build for non-x86 builds. We get the MPX includes that we need from mmu_context.h now.

This applies on top of the MPX patches currently in the -tip branch.

---

 b/fs/exec.c |    1 -
 1 file changed, 1 deletion(-)
fs/exec.c renamed from fs/exec.c~no-mpx-in +0 -1
diff -puN fs/exec.c~no-mpx-in fs/exec.c
@@ -60,7 +60,6 @@
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
 #include <asm/tlb.h>
-#include <asm/mpx.h>
 
 #include <trace/events/task.h>
 #include "internal.h"

_

#1 lore raw

[tip:x86/mpx] fs: Do not include mpx.h in exec.c

fs: Do not include mpx.h in exec.c
Commit-ID:  abe1e395f6171cb2d07330c690fe0285f7f859e6
Gitweb:     http://git.kernel.org/tip/abe1e395f6171cb2d07330c690fe0285f7f859e6
Author:     Dave Hansen <[email protected]>
AuthorDate: Mon, 17 Nov 2014 16:36:08 -0800
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Tue, 18 Nov 2014 02:01:40 +0100

fs: Do not include mpx.h in exec.c

We no longer need mpx.h in exec.c. This will obviously also break the build for non-x86 builds. We get the MPX includes that we need from mmu_context.h now.

---
 fs/exec.c | 1 -
 1 file changed, 1 deletion(-)
fs/exec.c +0 -1
index 65d4f5c..01aebe3 100644
@@ -60,7 +60,6 @@
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
 #include <asm/tlb.h>
-#include <asm/mpx.h>
 
 #include <trace/events/task.h>
 #include "internal.h"