File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ config UML
11
11
select ARCH_HAS_KCOV
12
12
select ARCH_HAS_STRNCPY_FROM_USER
13
13
select ARCH_HAS_STRNLEN_USER
14
- select ARCH_NO_PREEMPT
14
+ select ARCH_NO_PREEMPT_DYNAMIC
15
15
select HAVE_ARCH_AUDITSYSCALL
16
16
select HAVE_ARCH_KASAN if X86_64
17
17
select HAVE_ARCH_KASAN_VMALLOC if HAVE_ARCH_KASAN
Original file line number Diff line number Diff line change @@ -238,7 +238,9 @@ static void _sigio_handler(struct uml_pt_regs *regs,
238
238
239
239
void sigio_handler (int sig , struct siginfo * unused_si , struct uml_pt_regs * regs )
240
240
{
241
+ preempt_disable ();
241
242
_sigio_handler (regs , irqs_suspended );
243
+ preempt_enable ();
242
244
}
243
245
244
246
static struct irq_entry * get_irq_entry_by_fd (int fd )
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ obj-y += syscalls_64.o vdso/
31
31
32
32
subarch-y = ../lib/csum-partial_64.o ../lib/memcpy_64.o \
33
33
../lib/memmove_64.o ../lib/memset_64.o
34
- subarch-$(CONFIG_PREEMPTION) += ../entry/thunk_64.o
35
34
36
35
endif
37
36
You can’t perform that action at this time.
0 commit comments