| 1 |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| 2 |
/* |
| 3 |
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) |
| 4 |
* |
| 5 |
* This program is free software; you can redistribute it and/or modify |
| 6 |
* it under the terms of the GNU General Public License version 2 as |
| 7 |
* published by the Free Software Foundation. |
| 8 |
*/ |
| 9 |
|
| 10 |
#ifndef _ASM_ARC_SIGCONTEXT_H |
| 11 |
#define _ASM_ARC_SIGCONTEXT_H |
| 12 |
|
| 13 |
#include <asm/ptrace.h> |
| 14 |
|
| 15 |
/* |
| 16 |
* Signal context structure - contains all info to do with the state |
| 17 |
* before the signal handler was invoked. |
| 18 |
*/ |
| 19 |
struct sigcontext { |
| 20 |
struct user_regs_struct regs; |
| 21 |
struct user_regs_arcv2 v2abi; |
| 22 |
}; |
| 23 |
|
| 24 |
#endif /* _ASM_ARC_SIGCONTEXT_H */ |