linux-stable/include/asm-sh/cpu-sh4
Paul Mundt 8b395265f8 sh: Fix fatal oops in copy_user_page() on sh4a (SH7780).
We had a pretty interesting oops happening, where copy_user_page()
was down()'ing p3map_sem[] with a bogus offset (particularly, an
offset that hadn't been initialized with sema_init(), due to the
mismatch between cpu_data->dcache.n_aliases and what was assumed
based off of the old CACHE_ALIAS value).

Luckily, spinlock debugging caught this for us, and so we drop
the old hardcoded CACHE_ALIAS for sh4 completely and rely on the
run-time probed cpu_data->dcache.alias_mask. This in turn gets
the p3map_sem[] index right, and everything works again.

While we're at it, also convert to 4-level page tables..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 14:38:02 +09:00
..
addrspace.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache.h sh: Support for SH7770/SH7780 CPU subtypes. 2006-09-27 14:31:40 +09:00
cacheflush.h sh: Fix fatal oops in copy_user_page() on sh4a (SH7780). 2006-09-27 14:38:02 +09:00
dma.h [PATCH] sh: DMA updates 2006-01-16 23:15:27 -08:00
freq.h [PATCH] sh: Simplistic clock framework 2006-01-16 23:15:28 -08:00
mmu_context.h [PATCH] sh: Move TRA/EXPEVT/INTEVT definitions for reuse 2006-02-01 08:53:19 -08:00
rtc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shmparam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigcontext.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
timer.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ubc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
watchdog.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00