kernel-ark/arch/sh/mm
Matt Fleming 05dd2cd3bb sh: Restore previous behaviour on kernel fault
The last commit changed the behaviour on kernel faults when we were
doing something other than syncing the page tables. vmalloc_sync_one()
needs to return NULL if the page tables are up to date, because the
reason for the fault was not a missing/inconsitent page table entry. By
returning NULL if the page tables are sync'd we signal to the calling
function that further work must be done to resolve this fault.

Also, remove the superfluous __va() around the first argument to
vmalloc_sync_one(). The value of pgd_k is already a virtual address and
using it wth __va() causes a NULL dereference.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-07-13 17:43:22 -04:00
..
asids-debugfs.c sh: Update debugfs ASID dumping for 16-bit ASID support. 2009-03-17 17:59:31 +09:00
cache-debugfs.c Fix debugfs_create_file's error checking method for arch/sh/mm/ 2008-10-20 10:40:21 +09:00
cache-sh2.c SH2(A) cache update 2008-08-04 16:33:47 +09:00
cache-sh2a.c sh: fix sh2a cache entry_mask 2008-10-31 16:29:20 +09:00
cache-sh3.c sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
cache-sh4.c sh: uninline flush_icache_all(). 2008-09-08 10:35:06 +09:00
cache-sh5.c sh: Cleanup irqflags size mismatch on SH-5 build. 2009-05-09 14:38:49 +09:00
cache-sh7705.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
consistent.c sh: Pre-allocate a reasonable number of DMA debug entries. 2009-04-14 15:22:15 +09:00
extable_32.c sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
extable_64.c sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
fault_32.c sh: Restore previous behaviour on kernel fault 2009-07-13 17:43:22 -04:00
fault_64.c sh: migrate to arch/sh/include/ 2008-07-29 08:09:44 +09:00
hugetlbpage.c hugetlb: introduce pud_huge 2008-07-24 10:47:18 -07:00
init.c sh: Wire up the uncached fixmap on sh64 as well. 2009-06-23 17:30:17 +09:00
ioremap_32.c sh: pci: Rework fixed region checks in ioremap(). 2009-04-20 18:24:57 +09:00
ioremap_64.c sh: Prefer slab_is_available() over after_bootmem. 2009-05-22 14:21:03 +09:00
Kconfig sh: Provide FORCE_MAX_ZONEORDER. 2009-05-14 17:40:08 +09:00
Makefile sh: Split out extable.c _32 and _64 variants. 2008-01-28 13:18:44 +09:00
Makefile_32 sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
Makefile_64 sh: Convert sh64 /proc/asids to debugfs and generic sh. 2008-12-22 18:44:03 +09:00
mmap.c sh: Handle shm_align_mask also for HAVE_ARCH_UNMAPPED_AREA_TOPDOWN. 2009-05-07 16:38:16 +09:00
numa.c sh: Use bootmem ontop of lmb for NUMA 2009-07-05 00:32:11 +09:00
pg-nommu.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
pg-sh4.c sh: Handle fixmap TLB eviction more coherently. 2008-11-10 20:00:45 +09:00
pg-sh7705.c fix sh ptep_get_and_clear breakage 2008-07-28 18:10:35 +09:00
pmb-fixed.c sh: Support fixed 32-bit PMB mappings from bootloader. 2009-03-10 15:49:54 +09:00
pmb.c sh: PMB hibernation support 2009-03-16 19:46:17 +09:00
tlb-nommu.c sh: fixup many sparse errors. 2008-09-08 10:35:04 +09:00
tlb-pteaex.c sh: tlb-pteaex: Kill off legacy PTEA updates. 2009-03-17 17:58:33 +09:00
tlb-sh3.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
tlb-sh4.c sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
tlb-sh5.c sh: Fix up broken kerneldoc comments. 2008-08-04 12:51:06 +09:00
tlbflush_32.c sh: Rename the _32 and _64 TLB flush variants. 2008-01-28 13:18:54 +09:00
tlbflush_64.c sh64: Hook up page fault events for software perf counters. 2009-06-25 02:49:03 +09:00