diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-13 20:43:26 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-06-02 10:20:18 +0200 |
commit | 0aeb3408ca9773283b0ae63771c4b17f39e204df (patch) | |
tree | cfd151a26e9c3b2a4859f983f2db8a345630e269 /arch/arm/mm/init.c | |
parent | ARM: remove CPU_CP15 conditional from alignment.c (diff) | |
download | linux-0aeb3408ca9773283b0ae63771c4b17f39e204df.tar.xz linux-0aeb3408ca9773283b0ae63771c4b17f39e204df.zip |
ARM: remove global cr_no_alignment
cr_no_alignment is really only used by the alignment code. Since we no
longer change the setting of cr_alignment after boot, we can localise
this to alignment.c
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/init.c')
-rw-r--r-- | arch/arm/mm/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 94332b1ad4bc..13ce33e096b5 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -40,7 +40,6 @@ #ifdef CONFIG_CPU_CP15_MMU unsigned long __init __clear_cr(unsigned long mask) { - cr_no_alignment = cr_no_alignment & ~mask; cr_alignment = cr_alignment & ~mask; return cr_alignment; } |