FRV: Correctly determine the address of an illegal instruction
authorDavid Howells <dhowells@redhat.com>
Mon, 14 Apr 2008 10:20:59 +0000 (11:20 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 14 Apr 2008 14:55:15 +0000 (07:55 -0700)
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>

No differences found