Skip to content

Commit 741e390

Browse files
author
Ingo Molnar
committed
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@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>
1 parent fb09b78 commit 741e390

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

arch/x86/include/asm/processor.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -370,15 +370,9 @@ struct ymmh_struct {
370370
u32 ymmh_space[64];
371371
};
372372

373+
/* We don't support LWP yet: */
373374
struct lwp_struct {
374-
u64 lwpcb_addr;
375-
u32 flags;
376-
u32 buf_head_offset;
377-
u64 buf_base;
378-
u32 buf_size;
379-
u32 filters;
380-
u64 saved_event_record[4];
381-
u32 event_counter[16];
375+
u8 reserved[128];
382376
};
383377

384378
struct bndregs_struct {

0 commit comments

Comments
 (0)