[PATCH 5/6] openrisc: include l.swa in check for write data pagefault

2014-07-23 Thread Stefan Kristiansson
The way to determine if a data pagefault was caused by a write is to read the instruction at the PC that caused the fault and check if it's a store instruction. To recognize pagefaults caused by the l.swa instruction with opcode 0x33, has to be included in the check. Signed-off-by: Stefan

[PATCH 5/6] openrisc: include l.swa in check for write data pagefault

2014-07-23 Thread Stefan Kristiansson
The way to determine if a data pagefault was caused by a write is to read the instruction at the PC that caused the fault and check if it's a store instruction. To recognize pagefaults caused by the l.swa instruction with opcode 0x33, has to be included in the check. Signed-off-by: Stefan