• Home
  • Raw
  • Download

Lines Matching +full:irq +full:- +full:signals

1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk})
6 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
15 #include <as-layout.h>
44 /* enable signals if sig isn't IRQ signal */ in sig_handler_common()
54 * These are the asynchronous signals. SIGPROF is excluded because we want to
55 * be able to profile all of UML, not just the non-critical sections. If
56 * profiling is not thread-safe, then that is not my problem. We can disable
132 .ss_size = size - sizeof(void *) in set_sigstack()
166 mcontext_t *mc = &uc->uc_mcontext; in hard_handler()
190 sig--; in hard_handler()
196 * Again, pending comes back with a mask of signals in hard_handler()
198 * is non-zero, we just go back, set up the stack in hard_handler()
214 /* block irq ones */ in set_handler()
224 flags |= SA_RESTART; /* if it's an irq signal */ in set_handler()
229 panic("sigaction failed - errno = %d\n", errno); in set_handler()
234 panic("sigprocmask failed - errno = %d\n", errno); in set_handler()
244 return -errno; in change_sig()
253 * This must return with signals disabled, so this barrier in block_signals()
271 * We loop because the IRQ handler returns with interrupts off. So, in unblock_signals()
272 * interrupts may have arrived and we need to re-enable them and in unblock_signals()
277 * Save and reset save_pending after enabling signals. This in unblock_signals()
292 * We have pending interrupts, so disable signals, as the in unblock_signals()
297 * pending signals will mess up the tracing state. in unblock_signals()
323 /* Re-enable signals and trace that we're doing so. */ in unblock_signals()