android_kernel_xiaomi_sdm845/arch
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
..
alpha sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
arm sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
avr32 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
blackfin sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
cris sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
frv sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
h8300 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
ia64 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
m32r sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
m68k sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
m68knommu Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -07:00
microblaze sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
mips sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
mn10300 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
parisc sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
powerpc Merge branch 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2009-07-10 14:25:03 -07:00
s390 sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
sh sh: Restore previous behaviour on kernel fault 2009-07-13 17:43:22 -04:00
sparc sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
um sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
x86 Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block 2009-07-10 14:29:58 -07:00
xtensa sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00