ARM: use get_cr() rather than cr_alignment
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 13 Apr 2014 17:47:34 +0000 (18:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 May 2014 15:27:27 +0000 (16:27 +0100)
commit4585eaff634b1bbb09686895221b3645f53f7a60
treeeec2c251befcfeacbe83a9d864f04c0ef0595310
parent7668fd577bae5bba50e97d257a4cf0c44ca002d3
ARM: use get_cr() rather than cr_alignment

Rather than reading the cr_alignment variable, use get_cr() to read
directly from the hardware instead.  We have two places where this
occurs, neither of them are performance critical.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cp15.h
arch/arm/kernel/setup.c
arch/arm/mm/alignment.c