From: Dave Martin Date: Thu, 8 Dec 2011 12:41:06 +0000 (+0100) Subject: ARM: 7197/1: errata: Remove SMP dependency for erratum 751472 X-Git-Tag: v3.2~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba90c516bae79b5f8184d915bfce7eb280af61b1;p=pandora-kernel.git ARM: 7197/1: errata: Remove SMP dependency for erratum 751472 Activation conditions for a workaround should not be encoded in the workaround's direct dependencies if this makes otherwise reasonable configuration choices impossible. This patches uses the SMP/UP patching facilities instead to compile out the workaround if the configuration means that it is definitely not needed. This means that configs for buggy silicon can simply select ARM_ERRATA_751472, without preventing a UP kernel from being built or duplicatiing knowledge about when to activate the workaround. This seems the correct way to do things, because the erratum is a property of the silicon, irrespective of what the kernel config happens to be. Signed-off-by: Dave Martin Signed-off-by: Russell King --- Reading git-diff-tree failed