[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 11 Nov 2014 14:01:31 -0800
From: Dave Hansen <dave@...1.net>
To: linux-kernel@...r.kernel.org
Cc: Dave Hansen <dave@...1.net>, dave.hansen@...ux.intel.com,
fenghua.yu@...el.com, x86@...nel.org
Subject: [PATCH 1/2] x86: xsave.h needs user.h
From: Dave Hansen <dave.hansen@...ux.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@...ux.intel.com>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: x86@...nel.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
_
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists