summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/zeus.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-01-31 10:08:03 (GMT)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-01-31 20:44:48 (GMT)
commit6ebd4d038dbb626a43d87db3007e71f92f49d7b3 (patch)
treea49b51c958ce73527a467635f591c904a5bc9d96 /arch/arm/mach-pxa/zeus.c
parentac52e83f4c76992925e13d0f4e901ffd4c207261 (diff)
downloadlinux-fsl-qoriq-6ebd4d038dbb626a43d87db3007e71f92f49d7b3.tar.xz
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 <u.kleine-koenig@pengutronix.de> Message-Id: 1359646587-1788-2-git-send-email-u.kleine-koenig@pengutronix.de
Diffstat (limited to 'arch/arm/mach-pxa/zeus.c')
0 files changed, 0 insertions, 0 deletions