diff options
author | Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> | 2014-05-11 12:08:37 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-11-03 14:01:11 +0900 |
commit | 91993c8c2ed52781a0f42bf7f40e28adc96e2bb2 (patch) | |
tree | 4da05548436187fe5cc787f200284f16454fa584 /block/blk-softirq.c | |
parent | ddc92bec6d7d7e8a07794a8dbeade19476891b53 (diff) |
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 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions