aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/ucontext.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-03-27 14:25:45 +0100
committerMichal Simek <monstr@monstr.eu>2009-03-27 14:25:45 +0100
commit9de8901153ebf8c1070d9aca73c4a98db32abc78 (patch)
treedd153bc895f90a2a5543130ed610a7dac15cc82b /arch/microblaze/include/asm/ucontext.h
parenta9ebdfc5edd1600c21f9ae942a95340ca948c788 (diff)
microblaze_v8: fcntl.h sockios.h ucontext.h
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/ucontext.h')
-rw-r--r--arch/microblaze/include/asm/ucontext.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/ucontext.h b/arch/microblaze/include/asm/ucontext.h
new file mode 100644
index 00000000000..11f6bb3ae3a
--- /dev/null
+++ b/arch/microblaze/include/asm/ucontext.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2006 Atmark Techno, Inc.
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+
+#ifndef _ASM_MICROBLAZE_UCONTEXT_H
+#define _ASM_MICROBLAZE_UCONTEXT_H
+
+#include <asm/sigcontext.h>
+
+struct ucontext {
+ unsigned long uc_flags;
+ struct ucontext *uc_link;
+ stack_t uc_stack;
+ struct sigcontext uc_mcontext;
+ sigset_t uc_sigmask; /* mask last for extensibility */
+};
+
+#endif /* _ASM_MICROBLAZE_UCONTEXT_H */