From: Vegard Nossum Date: Fri, 27 Feb 2009 10:35:55 +0000 (+0100) Subject: kmemcheck: add opcode self-testing at boot X-Git-Tag: v2.6.31-rc1~303^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac61a7579625ddfca3b2e0aa298879a94d15884d;p=pandora-kernel.git kmemcheck: add opcode self-testing at boot We've had some troubles in the past with weird instructions. This patch adds a self-test framework which can be used to verify that a certain set of opcodes are decoded correctly. Of course, the opcodes which are not tested can still give the wrong results. In short, this is just a safeguard to catch unintentional changes in the opcode decoder. It does not mean that errors can't still occur! [rebased for mainline inclusion] Signed-off-by: Vegard Nossum --- Reading git-diff-tree failed