x86/intel/mpx: Remove unused LWP structure
authorIngo Molnar <mingo@kernel.org>
Mon, 20 Jan 2014 18:51:05 +0000 (19:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 20 Jan 2014 18:57:39 +0000 (19:57 +0100)
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@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-ecarmjtfKpanpAapfck6dj6g@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/processor.h

index b7845a1267920fca8b2053bc1eb0e8726040949b..865c39910cc89190ccc6a3a7596751c9aaa5c186 100644 (file)
@@ -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 {