From: Atsushi Nemoto Date: Fri, 29 Jun 2007 15:55:48 +0000 (+0900) Subject: [MIPS] Add some debugfs files to debug unaligned accesses X-Git-Tag: v2.6.23-rc1~1153^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6312e0ee45236b6882cd26b2ccc167b1b91646fc;p=pandora-kernel.git [MIPS] Add some debugfs files to debug unaligned accesses Currently a number of unaligned instructions is counted but not used. Add /debug/mips/unaligned_instructions file to show the value. And add /debug/mips/unaligned_action to control behavior upon an unaligned access. Possible actions are: 0: silently fixup the unaligned access. 1: send SIGBUS. 2: dump registers, process name, etc. and fixup. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed