summaryrefslogtreecommitdiff
path: root/debian/patches/03-fix-ocs-bashisms.dpatch
AgeCommit message (Expand)AuthorFilesLines
2008-05-18Fix Bashisms in contrib/ocs (Closes: #480591)15.6-6Tobias Klauser1-0/+67
href='/cgit.cgi/linux/net-next.git/tree/?id=cdb75442fedff8cc3ddedbe6e41d00b471634e17'>5806594b87c978f1aacb7a69ce0e37c4c77aedc5 parentd01e1f35fee54fd7131e161956e609dfd47c1056 (diff)
openrisc: include l.swa in check for write data pagefault
During page fault handling we check the last instruction to understand if the fault was for a read or for a write. By default we fall back to read. New instructions were added to the openrisc 1.1 spec for an atomic load/store pair (l.lwa/l.swa). This patch adds the opcode for l.swa (0x33) allowing it to be treated as a write operation. Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> [shorne@gmail.com: expanded a bit on the comment] Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat