From: Paul Mundt Date: Mon, 19 May 2008 10:32:07 +0000 (+0900) Subject: sh: Make is_valid_bugaddr() more intelligent on nommu. X-Git-Tag: v2.6.26-rc4~119^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a33fc217d2248838d52f8ef214b1909073f3eb4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed