From: Uwe Kleine-König Date: Thu, 31 Jan 2013 10:08:03 +0000 (+0100) Subject: ARM: stub out read_cpuid and read_cpuid_ext for CPU_CP15=n X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~51^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ebd4d038dbb626a43d87db3007e71f92f49d7b3;p=pandora-kernel.git ARM: stub out read_cpuid and read_cpuid_ext for CPU_CP15=n Traditionally for !CPU_CP15 read_cpuid and read_cpuid_ext returned the processor id independent of the parameter passed in. This is wrong of course but theoretically this doesn't harm because it's only called on machines having a cp15. Instead return 0 unconditionally which might make unused code paths be better optimizable and so smaller and warn about unexpected usage. Signed-off-by: Uwe Kleine-König Message-Id: 1359646587-1788-2-git-send-email-u.kleine-koenig@pengutronix.de --- Reading git-diff-tree failed