Files
android_kernel_xiaomi_sm8450/arch/sh/kernel
Matt Fleming 4bea3418c7 sh: Enable the mmu in start_secondary()
For the boot, enable_mmu() is called from setup_arch() but we don't call
setup_arch() for any of the other cpus. So turn on the non-boot cpu's
mmu inside of start_secondary().

I noticed this bug on an SMP board when trying to map I/O memory
(smsc911x registers) into the kernel address space. Since the Address
Translation bit in MMUCR wasn't set, accessing the virtual address where
the smsc911x registers were supposedly mapped actually performed a
physical address access.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Cc: stable@kernel.org
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-03-29 12:11:51 +09:00
..
2010-01-12 15:22:26 +09:00
2009-08-24 17:35:07 +09:00
2010-01-20 16:42:52 +09:00
2009-10-13 13:32:19 +09:00
2009-09-01 17:38:32 +09:00
2010-02-15 14:49:37 +09:00
2010-01-20 16:42:52 +09:00
2009-03-18 18:57:43 +09:00
2010-01-12 18:42:52 +09:00
2010-02-15 14:49:37 +09:00
2010-03-29 12:11:51 +09:00
2009-03-10 12:55:40 +09:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2010-03-12 15:52:32 -08:00
2010-01-19 17:00:06 +09:00
2010-01-19 17:00:31 +09:00