[tip:x86/mpx] x86/intel/mpx: Remove unused LWP structure

From: tip-bot for Ingo Molnar
Date: Mon Jan 20 2014 - 14:40:26 EST


Commit-ID: 741e3902cd89a7fbc04ae53f29a7ca0da452aa8e
Gitweb: http://git.kernel.org/tip/741e3902cd89a7fbc04ae53f29a7ca0da452aa8e
Author: Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Mon, 20 Jan 2014 19:51:05 +0100
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Mon, 20 Jan 2014 19:57:39 +0100

x86/intel/mpx: Remove unused LWP structure

We don't support LWP yet, don't give the impression that we do:
represent the LWP state as opaque 128 bytes, the way Linux sees it
currently.

Cc: Qiaowei Ren <qiaowei.ren@xxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/n/tip-ecarmjtfKpanpAapfck6dj6g@xxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/include/asm/processor.h | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index b7845a1..865c399 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -370,15 +370,9 @@ struct ymmh_struct {
u32 ymmh_space[64];
};

+/* We don't support LWP yet: */
struct lwp_struct {
- u64 lwpcb_addr;
- u32 flags;
- u32 buf_head_offset;
- u64 buf_base;
- u32 buf_size;
- u32 filters;
- u64 saved_event_record[4];
- u32 event_counter[16];
+ u8 reserved[128];
};

struct bndregs_struct {
--
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/