incubator-nuttx/sched/irq
hujun5 1bf4198556 irq: remove g_cpu_nestcount in restore_critical_section
because 'g_cpu_nestcount[me] > 0' will never happen, in this place

test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20
running
qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-07-02 03:02:32 +08:00
..
CMakeLists.txt sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
Make.defs sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
irq.h irq: All irq_cpu_locked is called in the critical_section, and the parameter is the current cpu id. 2024-04-12 17:40:23 +08:00
irq_attach.c sched: we use spin_lock_irqsave replace enter_critical_section to protect g_irqvector 2024-05-09 13:45:02 +08:00
irq_chain.c sched: we use spin_lock_irqsave replace enter_critical_section to protect g_irqvector 2024-05-09 13:45:02 +08:00
irq_csection.c irq: remove g_cpu_nestcount in restore_critical_section 2024-07-02 03:02:32 +08:00
irq_dispatch.c clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
irq_foreach.c
irq_initialize.c add the startup process tracepoint 2023-08-19 21:50:08 +08:00
irq_procfs.c fs: procfs add poll support 2023-12-26 19:23:13 -08:00
irq_spinlock.c sched/irq: spinlock should not depends on SMP 2024-03-26 15:21:52 +08:00
irq_unexpectedisr.c