summaryrefslogtreecommitdiff
path: root/arch/frv/include/uapi/asm/sigcontext.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-10 12:34:29 +0100
committerDavid Howells <dhowells@redhat.com>2012-10-10 12:34:29 +0100
commitdc44ce1e1e157ea0a8b256f42aa0425300a0435e (patch)
treefb178ff04e305853b36dcb2dda74d7ddece6c703 /arch/frv/include/uapi/asm/sigcontext.h
parent3b2267e0c8898b8d2e8de024eaae570505456836 (diff)
parentaa2c47e0a60470f20babaaa00ec94cf50c1feb6c (diff)
Merge branch 'disintegrate-frv' into disintegrate-misc-arches
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/frv/include/uapi/asm/sigcontext.h')
-rw-r--r--arch/frv/include/uapi/asm/sigcontext.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/frv/include/uapi/asm/sigcontext.h b/arch/frv/include/uapi/asm/sigcontext.h
new file mode 100644
index 000000000000..3b263f3cc96f
--- /dev/null
+++ b/arch/frv/include/uapi/asm/sigcontext.h
@@ -0,0 +1,26 @@
+/* sigcontext.h: FRV signal context
+ *
+ * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
+ * Written by David Howells (dhowells@redhat.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+#ifndef _ASM_SIGCONTEXT_H
+#define _ASM_SIGCONTEXT_H
+
+#include <asm/registers.h>
+
+/*
+ * Signal context structure - contains all info to do with the state
+ * before the signal handler was invoked. Note: only add new entries
+ * to the end of the structure.
+ */
+struct sigcontext {
+ struct user_context sc_context;
+ unsigned long sc_oldmask; /* old sigmask */
+} __attribute__((aligned(8)));
+
+#endif