diff options
author | Chung-Ling Tang <cltang@codesourcery.com> | 2015-03-12 13:34:31 +0800 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2015-03-12 13:35:06 +0800 |
commit | 92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f (patch) | |
tree | 4d99635aff3be4a2c0b19f0bbe3fe51e19bc1fff /arch/nios2/include/uapi/asm/sigcontext.h | |
parent | 9eccca0843205f87c00404b663188b88eb248051 (diff) | |
download | linux-92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f.tar.bz2 |
nios2: update pt_regs
Remove struct pt_regs from user header and use generic ucontext.h.
Signed-off-by: Chung-Ling Tang <cltang@codesourcery.com>
Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/include/uapi/asm/sigcontext.h')
-rw-r--r-- | arch/nios2/include/uapi/asm/sigcontext.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/nios2/include/uapi/asm/sigcontext.h b/arch/nios2/include/uapi/asm/sigcontext.h index 7b8bb41867d4..b67944a50927 100644 --- a/arch/nios2/include/uapi/asm/sigcontext.h +++ b/arch/nios2/include/uapi/asm/sigcontext.h @@ -15,14 +15,16 @@ * details. */ -#ifndef _ASM_NIOS2_SIGCONTEXT_H -#define _ASM_NIOS2_SIGCONTEXT_H +#ifndef _UAPI__ASM_SIGCONTEXT_H +#define _UAPI__ASM_SIGCONTEXT_H -#include <asm/ptrace.h> +#include <linux/types.h> + +#define MCONTEXT_VERSION 2 struct sigcontext { - struct pt_regs regs; - unsigned long sc_mask; /* old sigmask */ + int version; + unsigned long gregs[32]; }; #endif |