summaryrefslogtreecommitdiff
path: root/include/asm-frv/mem-layout.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-04-10 16:10:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-10 13:41:28 -0700
commita31b9dd8edc6e4e75b5299fee6093b3c54548446 (patch)
treef1f8fe2c4e98e80c505e869cd1c98caef259a079 /include/asm-frv/mem-layout.h
parent5d69a029ab13ddef5bdad69174fabafada4a87fd (diff)
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 'include/asm-frv/mem-layout.h')
0 files changed, 0 insertions, 0 deletions