mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [tip:x86/mpx] x86/intel/mpx: Remove unused LWP structure
@ 2014-01-20 19:39 tip-bot for Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: tip-bot for Ingo Molnar @ 2014-01-20 19:39 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, qiaowei.ren, hpa, mingo, peterz, tglx

Commit-ID:  741e3902cd89a7fbc04ae53f29a7ca0da452aa8e
Gitweb:     http://git.kernel.org/tip/741e3902cd89a7fbc04ae53f29a7ca0da452aa8e
Author:     Ingo Molnar <mingo@kernel.org>
AuthorDate: Mon, 20 Jan 2014 19:51:05 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
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@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 | 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 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-20 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 19:39 [tip:x86/mpx] x86/intel/mpx: Remove unused LWP structure tip-bot for Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome