at v4.15 27 lines 867 B view raw
1/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 2/* sigcontext.h: FRV signal context 3 * 4 * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. 5 * Written by David Howells (dhowells@redhat.com) 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 10 * 2 of the License, or (at your option) any later version. 11 */ 12#ifndef _ASM_SIGCONTEXT_H 13#define _ASM_SIGCONTEXT_H 14 15#include <asm/registers.h> 16 17/* 18 * Signal context structure - contains all info to do with the state 19 * before the signal handler was invoked. Note: only add new entries 20 * to the end of the structure. 21 */ 22struct sigcontext { 23 struct user_context sc_context; 24 unsigned long sc_oldmask; /* old sigmask */ 25} __attribute__((aligned(8))); 26 27#endif