mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-11 07:28:10 +09:00
In the past, we didn't care about kernel sp when saving pt_reg. But in some cases, we still need pt_reg->usp to represent the kernel stack before enter exception. For cmpxhg in atomic.S, we need save and restore usp for above. Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
1.0 KiB
1.0 KiB