[PATCH 1/2] x86: xsave.h needs user.h

From: Dave Hansen
Date: Tue Nov 11 2014 - 17:01:51 EST



From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

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

Add the include.

Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
Cc: x86@xxxxxxxxxx

---

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

_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/