aboutsummaryrefslogtreecommitdiffstats
path: root/arch/csky/include/uapi/asm/sigcontext.h
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2018-09-05 14:25:14 +0800
committerGuo Ren <ren_guo@c-sky.com>2018-10-26 00:54:13 +0800
commite9564df753fd547fcbcd4fd10015c3b1213ef452 (patch)
tree067236e1b2b5812db80e3ba1ea94b0e2a737a28f /arch/csky/include/uapi/asm/sigcontext.h
parentcsky: MMU and page table management (diff)
downloadlinux-dev-e9564df753fd547fcbcd4fd10015c3b1213ef452.tar.xz
linux-dev-e9564df753fd547fcbcd4fd10015c3b1213ef452.zip
csky: Process management and Signal
This patch adds files related to task_switch, sigcontext, signal, fpu context switch. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'arch/csky/include/uapi/asm/sigcontext.h')
-rw-r--r--arch/csky/include/uapi/asm/sigcontext.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/csky/include/uapi/asm/sigcontext.h b/arch/csky/include/uapi/asm/sigcontext.h
new file mode 100644
index 000000000000..e81e7ff11e36
--- /dev/null
+++ b/arch/csky/include/uapi/asm/sigcontext.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
+
+#ifndef __ASM_CSKY_SIGCONTEXT_H
+#define __ASM_CSKY_SIGCONTEXT_H
+
+#include <asm/ptrace.h>
+
+struct sigcontext {
+ struct pt_regs sc_pt_regs;
+ struct user_fp sc_user_fp;
+};
+
+#endif /* __ASM_CSKY_SIGCONTEXT_H */