Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug.h: add include of it to various implicit C users | Paul Gortmaker | 2012-02-29 | 1 | -0/+1 |
| | | | | | | | | | With bug.h currently living right in linux/kernel.h there are files that use BUG_ON and friends but are not including the header explicitly. Fix them up so we can remove the presence in kernel.h file. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> | ||||
* | kmemcheck: add opcode self-testing at boot | Vegard Nossum | 2009-06-15 | 1 | -0/+69 |
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 <vegard.nossum@gmail.com> |