summaryrefslogtreecommitdiffstats
path: root/tools/nfsd
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-01-10 23:30:23 +0900
committerStafford Horne <shorne@gmail.com>2017-02-25 04:31:06 +0900
commite6d20c55a4d94eca419f80f996133f523ecedfe0 (patch)
tree4da9f421a8463946624b1aee5df2b9ff1bf5cc2c /tools/nfsd
parent2ead7aba44e973b313fde0e39371363459cc1128 (diff)
downloadblackbird-op-linux-e6d20c55a4d94eca419f80f996133f523ecedfe0.tar.gz
blackbird-op-linux-e6d20c55a4d94eca419f80f996133f523ecedfe0.zip
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>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud