mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
de5151c64b
Since the SCRATCH register is used to store the percpu pointer, which should not be accessed by other CPUs, we can replace the critical section with irqsave/irqrestore. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>