diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-07-13 11:38:04 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-07-13 17:43:22 -0400 |
commit | 05dd2cd3bb3299540e33ff60c5b401dd88f273bd (patch) | |
tree | 1690745c78452bc994e66dcfd840db61e8eb6843 /usr/.gitignore | |
parent | 3e28ad7b2442e02c35c2fee2d85a90d0202a9aad (diff) | |
download | blackbird-op-linux-05dd2cd3bb3299540e33ff60c5b401dd88f273bd.tar.gz blackbird-op-linux-05dd2cd3bb3299540e33ff60c5b401dd88f273bd.zip |
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>
Diffstat (limited to 'usr/.gitignore')
0 files changed, 0 insertions, 0 deletions