diff options
author | David Howells <dhowells@redhat.com> | 2008-04-10 17:10:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-10 22:41:28 +0200 |
commit | a31b9dd8edc6e4e75b5299fee6093b3c54548446 (patch) | |
tree | f1f8fe2c4e98e80c505e869cd1c98caef259a079 /scripts/bin2c.c | |
parent | Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 (diff) | |
download | linux-a31b9dd8edc6e4e75b5299fee6093b3c54548446.tar.xz linux-a31b9dd8edc6e4e75b5299fee6093b3c54548446.zip |
FRV: Handle update_mmu_cache() being called when current->mm is NULL [try #2]
Handle update_mmu_cache() being called when current->mm is NULL.
We cache static TLB mappings for the current page table in DAMPR4 and DAMPR5
on the theory that the next data lookup is likely to be in the same general
region, and thus is likely to be mapped by the same page table. However, we
can't get this information if we can't access the appropriate mm_struct.
If current->mm is NULL, we just clear the cache in the knowledge that the TLB
miss handlers will load it.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions