aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/cmpxchg.h
diff options
context:
space:
mode:
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>2014-05-11 12:08:37 +0300
committerStafford Horne <shorne@gmail.com>2017-11-03 14:01:11 +0900
commit91993c8c2ed52781a0f42bf7f40e28adc96e2bb2 (patch)
tree4da05548436187fe5cc787f200284f16454fa584 /arch/openrisc/include/asm/cmpxchg.h
parentdt-bindings: openrisc: Add OpenRISC platform SoC (diff)
downloadlinux-dev-91993c8c2ed52781a0f42bf7f40e28adc96e2bb2.tar.xz
linux-dev-91993c8c2ed52781a0f42bf7f40e28adc96e2bb2.zip
openrisc: use shadow registers to save regs on exception
Previously, the area between 0x0-0x100 have been used as a "scratch" memory area to temporarily store regs during exception entry. In a multi-core environment, this will not work. This change is to use shadow registers for nested context. Currently only the "critical" temp load/stores are covered, the EMERGENCY_PRINT ones are left as is (when they are used, it's game over anyway), they need to be handled as well in the future. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/include/asm/cmpxchg.h')
0 files changed, 0 insertions, 0 deletions