Skip to content
Commit 9a33fc21 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Make is_valid_bugaddr() more intelligent on nommu.



Currently is_valid_bugaddr() is true for anything >= PAGE_OFFSET, which
happens to be 0 on nommu configurations. Make this a bit smarter by just
reading in the opcode and comparing it against the trap type that we
already know. Follows the logic from avr32.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent bfd3c7a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment