Files
linux/arch/sh/kernel
Matt Fleming 69fd993218 sh: Enable the mmu in start_secondary()
commit 4bea3418c7 upstream.

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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-26 07:41:16 -07:00
..
2009-10-14 15:50:28 +09:00
2009-01-27 14:49:10 +09:00
2009-08-24 17:35:07 +09:00
2009-10-26 09:58:31 +09:00
2009-09-01 17:38:32 +09:00
2009-09-01 17:38:32 +09:00
2009-03-18 18:57:43 +09:00
2009-10-14 15:43:52 +09:00
2008-12-22 18:44:44 +09:00
2010-04-26 07:41:16 -07: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-01-18 10:19:11 -08:00
2009-10-13 10:57:52 +09:00
2009-09-01 17:38:32 +09:00