From: Michael Ellerman Date: Tue, 24 Jun 2008 01:33:03 +0000 (+1000) Subject: powerpc: Add self-tests of the feature fixup code X-Git-Tag: v2.6.27-rc1~1058^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=362e7701fd183d990e0863883461edef61392710;p=pandora-kernel.git powerpc: Add self-tests of the feature fixup code This commit adds tests of the feature fixup code, they are run during boot if CONFIG_FTR_FIXUP_SELFTEST=y. Some of the tests manually invoke the patching routines to check their behaviour, and others use the macros and so are patched during the normal patching done during boot. Because we have two sets of macros with different names, we use a macro to generate the test of the macros, very niiiice. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed