summaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/asm/mc146818rtc.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-11-27 11:22:42 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2017-11-27 11:22:42 +0000
commit3aaf33bebda8d4ffcc0fc8ef39e6c1ac68823b11 (patch)
treecea1260797f0c3af391c048a53f46db026221f87 /arch/alpha/include/asm/mc146818rtc.h
parent8bafae202c82dc257f649ea3c275a0f35ee15113 (diff)
ARM: avoid faulting on qemu
When qemu starts a kernel in a bare environment, the default SCR has the AW and FW bits clear, which means that the kernel can't modify the PSR A or PSR F bits, and means that FIQs and imprecise aborts are always masked. When running uboot under qemu, the AW and FW SCR bits are set, and the kernel functions normally - and this is how real hardware behaves. Fix this for qemu by ignoring the FIQ bit. Fixes: 8bafae202c82 ("ARM: BUG if jumping to usermode address in kernel mode") Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/alpha/include/asm/mc146818rtc.h')
0 files changed, 0 insertions, 0 deletions