commit | 4f3f8e94b7b079131f0faf641e8afd790a6537d1 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon Apr 14 11:20:59 2008 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 14 07:55:15 2008 -0700 |
tree | c3786d428a84b0be512fc6ff92e5687c44667ee5 | |
parent | 120dd64cacd4fb796bca0acba3665553f1d9ecaa [diff] |
FRV: Correctly determine the address of an illegal instruction Correctly determine the address of an illegal instruction. The EPCR0 register holds this value (masked by EPCR0_PC) if the validity bit is set (masked by EPCR0_V). So the test as to whether the contents of the register are usable should be involve checking the _V bit, not the _PC bits. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>