![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 /* 0003 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 0004 * 0005 * This program is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License version 2 as 0007 * published by the Free Software Foundation. 0008 * 0009 * Amit Bhor, Sameer Dhavale: Codito Technologies 2004 0010 */ 0011 0012 #ifndef _ASM_ARC_SIGNAL_H 0013 #define _ASM_ARC_SIGNAL_H 0014 0015 /* 0016 * This is much needed for ARC sigreturn optimization. 0017 * This allows uClibc to piggback the addr of a sigreturn stub in sigaction, 0018 * which allows sigreturn based re-entry into kernel after handling signal. 0019 * W/o this kernel needs to "synthesize" the sigreturn trampoline on user 0020 * mode stack which in turn forces the following: 0021 * -TLB Flush (after making the stack page executable) 0022 * -Cache line Flush (to make I/D Cache lines coherent) 0023 */ 0024 #define SA_RESTORER 0x04000000 0025 0026 #include <asm-generic/signal.h> 0027 0028 #endif /* _ASM_ARC_SIGNAL_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |