mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-23 09:15:36 +00:00
lx_emul: unify udelay implementation
Implement udelay for all architectures within common lx_emul code, remove driver-specific version. Always do busy looping in udelay and use cpu_relax() like the original Linux code. Thereby, we profit from architecture specific instructions (cpu cool down), and jiffies are updated if irqs are on. Ref genodelabs/genode#4778
This commit is contained in:
committed by
Christian Helmuth
parent
50541c68ec
commit
6a7a30ceaa
@ -37,6 +37,7 @@ SRC_C += lx_emul/shadow/kernel/sched/sched.c
|
||||
SRC_C += lx_emul/shadow/kernel/smp.c
|
||||
SRC_C += lx_emul/shadow/kernel/stop_machine.c
|
||||
SRC_C += lx_emul/shadow/lib/cpumask.c
|
||||
SRC_C += lx_emul/shadow/lib/delay.c
|
||||
SRC_C += lx_emul/shadow/mm/percpu.c
|
||||
SRC_C += lx_emul/shadow/mm/slab_common.c
|
||||
SRC_C += lx_emul/shadow/mm/slub.c
|
||||
|
Reference in New Issue
Block a user