diff options
-rw-r--r-- | arch/arm/mm/alignment.c | 7 | ||||
-rw-r--r-- | arch/arm/mm/mmu.c | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mm/alignment.c b/arch/arm/mm/alignment.c index 53e268fcae45..4cfefa20ee98 100644 --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c | |||
@@ -950,6 +950,13 @@ do_alignment(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
950 | return 0; | 950 | return 0; |
951 | } | 951 | } |
952 | 952 | ||
953 | static int __init noalign_setup(char *__unused) | ||
954 | { | ||
955 | set_cr(__clear_cr(CR_A)); | ||
956 | return 1; | ||
957 | } | ||
958 | __setup("noalign", noalign_setup); | ||
959 | |||
953 | /* | 960 | /* |
954 | * This needs to be done after sysctl_init, otherwise sys/ will be | 961 | * This needs to be done after sysctl_init, otherwise sys/ will be |
955 | * overwritten. Actually, this shouldn't be in sys/ at all since | 962 | * overwritten. Actually, this shouldn't be in sys/ at all since |
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index d97cb2d8953a..ec57f792aed4 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c | |||
@@ -186,13 +186,6 @@ static int __init early_ecc(char *p) | |||
186 | early_param("ecc", early_ecc); | 186 | early_param("ecc", early_ecc); |
187 | #endif | 187 | #endif |
188 | 188 | ||
189 | static int __init noalign_setup(char *__unused) | ||
190 | { | ||
191 | set_cr(__clear_cr(CR_A)); | ||
192 | return 1; | ||
193 | } | ||
194 | __setup("noalign", noalign_setup); | ||
195 | |||
196 | #ifndef CONFIG_SMP | 189 | #ifndef CONFIG_SMP |
197 | void adjust_cr(unsigned long mask, unsigned long set) | 190 | void adjust_cr(unsigned long mask, unsigned long set) |
198 | { | 191 | { |