summaryrefslogtreecommitdiff
path: root/include/asm-x86/ucontext.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-09-05 09:18:39 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-05 09:18:39 +0200
commitaccf0fa697eeb5ff4c2360edc4da5b10abac0b7b (patch)
treea57dc9aa4a6b83be8ac8b4528cf06db5621e62aa /include/asm-x86/ucontext.h
parentebd60cd64f8ab1170102c3ab072eb73042b7a33d (diff)
parentfe47784ba5cbb6b713c013e046859946789b45e4 (diff)
Merge branch 'x86/xsave' into x86/core
Diffstat (limited to 'include/asm-x86/ucontext.h')
-rw-r--r--include/asm-x86/ucontext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86/ucontext.h b/include/asm-x86/ucontext.h
index 9948dd328084..89eaa5456a7e 100644
--- a/include/asm-x86/ucontext.h
+++ b/include/asm-x86/ucontext.h
@@ -1,6 +1,12 @@
#ifndef ASM_X86__UCONTEXT_H
#define ASM_X86__UCONTEXT_H
+#define UC_FP_XSTATE 0x1 /* indicates the presence of extended state
+ * information in the memory layout pointed
+ * by the fpstate pointer in the ucontext's
+ * sigcontext struct (uc_mcontext).
+ */
+
struct ucontext {
unsigned long uc_flags;
struct ucontext *uc_link;