mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] x86: xsave.h needs user.h
@ 2014-11-11 22:01 Dave Hansen
  2014-11-11 22:01 ` [PATCH 2/2] x86: require exact match for "noxsave" command line option Dave Hansen
  2014-11-16 12:34 ` [tip:x86/fpu] x86: Add #include user.h to xsave.h tip-bot for Dave Hansen
  0 siblings, 2 replies; 5+ messages in thread
From: Dave Hansen @ 2014-11-11 22:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: Dave Hansen, dave.hansen, fenghua.yu, x86


From: Dave Hansen <dave.hansen@linux.intel.com>

xsave.h uses USER_XSTATE_FX_SW_WORDS, but does not include user.h.

Add the include.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: x86@kernel.org

---

 b/arch/x86/include/asm/xsave.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/x86/include/asm/xsave.h~x86-xsave.h-needs-user.h arch/x86/include/asm/xsave.h
--- a/arch/x86/include/asm/xsave.h~x86-xsave.h-needs-user.h	2014-11-11 14:00:18.844366889 -0800
+++ b/arch/x86/include/asm/xsave.h	2014-11-11 14:00:18.846366979 -0800
@@ -3,6 +3,7 @@
 
 #include <linux/types.h>
 #include <asm/processor.h>
+#include <asm/user.h>
 
 #define XSTATE_CPUID		0x0000000d
 
_

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-16 12:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 22:01 [PATCH 1/2] x86: xsave.h needs user.h Dave Hansen
2014-11-11 22:01 ` [PATCH 2/2] x86: require exact match for "noxsave" command line option Dave Hansen
2014-11-16 11:15   ` [tip:x86/urgent] x86: Require exact match for 'noxsave' " tip-bot for Dave Hansen
2014-11-16 12:34   ` [tip:x86/fpu] x86: Require exact match for "noxsave" " tip-bot for Dave Hansen
2014-11-16 12:34 ` [tip:x86/fpu] x86: Add #include user.h to xsave.h tip-bot for Dave Hansen

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