.. | .. |
---|
28 | 28 | #define SA_IA32_ABI 0x02000000u |
---|
29 | 29 | #define SA_X32_ABI 0x01000000u |
---|
30 | 30 | |
---|
| 31 | +/* |
---|
| 32 | + * Because some traps use the IST stack, we must keep preemption |
---|
| 33 | + * disabled while calling do_trap(), but do_trap() may call |
---|
| 34 | + * force_sig_info() which will grab the signal spin_locks for the |
---|
| 35 | + * task, which in PREEMPT_RT_FULL are mutexes. By defining |
---|
| 36 | + * ARCH_RT_DELAYS_SIGNAL_SEND the force_sig_info() will set |
---|
| 37 | + * TIF_NOTIFY_RESUME and set up the signal to be sent on exit of the |
---|
| 38 | + * trap. |
---|
| 39 | + */ |
---|
| 40 | +#if defined(CONFIG_PREEMPT_RT_FULL) |
---|
| 41 | +#define ARCH_RT_DELAYS_SIGNAL_SEND |
---|
| 42 | +#endif |
---|
| 43 | + |
---|
31 | 44 | #ifndef CONFIG_COMPAT |
---|
32 | 45 | typedef sigset_t compat_sigset_t; |
---|
33 | 46 | #endif |
---|