[PATCH] do not include mpx.h in exec.c

From: Dave Hansen
Date: Mon Nov 17 2014 - 19:36:14 EST



From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

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.

Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
---

b/fs/exec.c | 1 -
1 file changed, 1 deletion(-)

diff -puN fs/exec.c~no-mpx-in fs/exec.c
--- a/fs/exec.c~no-mpx-in 2014-11-17 16:22:33.935154876 -0800
+++ b/fs/exec.c 2014-11-17 16:22:39.466404410 -0800
@@ -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"
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/