]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: make cr_alignment read-only #ifndef CONFIG_CPU_CP15
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 16 Jan 2012 09:34:31 +0000 (10:34 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 31 Jan 2013 20:44:45 +0000 (21:44 +0100)
commitb849a60e0903b1c5430c3859864554662e127a8d
treefe441d30362531fa204b52661a3d20a7f836fb19
parent949db153b6466c6f7cad5a427ecea94985927311
ARM: make cr_alignment read-only #ifndef CONFIG_CPU_CP15

This makes cr_alignment a constant 0 to break code that tries to modify
the value as it's likely that it's built on wrong assumption when
CONFIG_CPU_CP15 isn't defined. For code that is only reading the value 0
is more or less a fine value to report.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Message-Id: 1358413196-5609-2-git-send-email-u.kleine-koenig@pengutronix.de (v8)
arch/arm/include/asm/cp15.h
arch/arm/kernel/head-common.S
arch/arm/mm/alignment.c
arch/arm/mm/mmu.c