summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/entry-common.S
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-05-19 19:32:07 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-05-19 19:32:07 +0900
commit9a33fc217d2248838d52f8ef214b1909073f3eb4 (patch)
tree7f8c76824f1a555b69802f91ed9be00558cbf47a /arch/sh/kernel/entry-common.S
parentbfd3c7a728fbe642f79f99482a6c01158c675545 (diff)
downloadop-kernel-dev-9a33fc217d2248838d52f8ef214b1909073f3eb4.zip
op-kernel-dev-9a33fc217d2248838d52f8ef214b1909073f3eb4.tar.gz
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: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/entry-common.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud