summaryrefslogtreecommitdiff
path: root/arch/csky/abiv1/inc/abi/page.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2019-12-17 11:12:55 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 15:43:24 +0800
commitf8e17c17b81070f38062dce79ca7f4541851dadd (patch)
tree0de930c6cf557570a44beb5c167384ca0692d791 /arch/csky/abiv1/inc/abi/page.h
parent7f4a567332f035ab16b29010fbd04a0f10183c77 (diff)
downloadlinux-sh-f8e17c17b81070f38062dce79ca7f4541851dadd.tar.gz
csky: Set regs->usp to kernel sp, when the exception is from kernel
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>
Diffstat (limited to 'arch/csky/abiv1/inc/abi/page.h')
0 files changed, 0 insertions, 0 deletions