Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / arch / m68k / include / asm / ucontext.h
blob1523a8e5ff224fbaf0b7e037c480fd17cf27b83c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _M68K_UCONTEXT_H
3 #define _M68K_UCONTEXT_H
5 typedef int greg_t;
6 #define NGREG 18
7 typedef greg_t gregset_t[NGREG];
9 typedef struct fpregset {
10 int f_fpcntl[3];
11 int f_fpregs[8*3];
12 } fpregset_t;
14 struct mcontext {
15 int version;
16 gregset_t gregs;
17 fpregset_t fpregs;
20 #define MCONTEXT_VERSION 2
22 struct ucontext {
23 unsigned long uc_flags;
24 struct ucontext *uc_link;
25 stack_t uc_stack;
26 struct mcontext uc_mcontext;
27 unsigned long uc_filler[80];
28 sigset_t uc_sigmask; /* mask last for extensibility */
31 #endif