linux/arch/openrisc/kernel
Stafford Horne e6d20c55a4 openrisc: entry: Fix delay slot detection
Use execption SR stored in pt_regs for detection, the current SR is not
correct as the handler is running after return from exception.

Also, The code that checks for a delay slot uses a flag bitmask and then
wants to check if the result is not zero.  The test it implemented was
wrong.

Correct it by changing the test to check result against non zero.

Signed-off-by: Stafford Horne <shorne@gmail.com>
2017-02-25 04:31:06 +09:00
..
.gitignore openrisc: Add .gitignore 2017-02-25 04:14:36 +09:00
asm-offsets.c openrisc: use kbuild.h instead of defining macros in asm-offset.c 2012-10-25 15:54:33 +02:00
dma.c arch/openrisc: add option to skip DMA sync as a part of mapping 2016-12-14 16:04:07 -08:00
entry.S openrisc: entry: Fix delay slot detection 2017-02-25 04:31:06 +09:00
head.S openrisc: head: refactor out tlb flush into it's own function 2017-02-06 21:50:43 +09:00
irq.c openrisc: Get rid of handle_IRQ 2014-09-03 13:11:02 +00:00
Makefile openrisc: Use generic idle loop 2013-04-08 17:39:27 +02:00
module.c openrisc: Refactor 16-bit constant relocation 2013-11-05 16:27:55 +01:00
or32_ksyms.c openrisc: Add optimized memset 2017-02-25 04:14:35 +09:00
process.c openrisc: Initial support for the idle state 2017-02-25 04:14:35 +09:00
prom.c openrisc: remove unnecessary prom.c includes 2013-10-09 11:39:01 -05:00
ptrace.c openrisc: remove unnecessary stddef.h include 2017-02-25 04:14:34 +09:00
setup.c openrisc: add cache way information to cpuinfo 2017-02-06 21:50:41 +09:00
signal.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
sys_call_table.c OpenRISC: System calls 2011-07-22 18:46:34 +02:00
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
traps.c openrisc: add l.lwa/l.swa emulation 2017-02-06 21:50:43 +09:00
vmlinux.h of/fdt: consolidate built-in dtb section variables 2014-04-30 00:59:13 -05:00
vmlinux.lds.S openrisc: Add _text symbol to fix ksym build error 2017-01-02 10:35:11 +09:00