Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

3 views
Skip to first unread message

tip-bot for Ingo Molnar

unread,
Jan 20, 2014, 2:50:01 PM1/20/14
to
Commit-ID: 741e3902cd89a7fbc04ae53f29a7ca0da452aa8e
Gitweb: http://git.kernel.org/tip/741e3902cd89a7fbc04ae53f29a7ca0da452aa8e
Author: Ingo Molnar <mi...@kernel.org>
AuthorDate: Mon, 20 Jan 2014 19:51:05 +0100
Committer: Ingo Molnar <mi...@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 <qiaow...@intel.com>
Cc: Peter Zijlstra <pet...@infradead.org>
Link: http://lkml.kernel.org/n/tip-ecarmjtfKp...@git.kernel.org
Signed-off-by: Ingo Molnar <mi...@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 {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
0 new messages