projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
[cascardo/linux.git]
/
include
/
asm-generic
/
tlb.h
diff --git
a/include/asm-generic/tlb.h
b/include/asm-generic/tlb.h
index
0884805
..
db284bf
100644
(file)
--- a/
include/asm-generic/tlb.h
+++ b/
include/asm-generic/tlb.h
@@
-136,8
+136,12
@@
static inline void __tlb_adjust_range(struct mmu_gather *tlb,
static inline void __tlb_reset_range(struct mmu_gather *tlb)
{
- tlb->start = TASK_SIZE;
- tlb->end = 0;
+ if (tlb->fullmm) {
+ tlb->start = tlb->end = ~0;
+ } else {
+ tlb->start = TASK_SIZE;
+ tlb->end = 0;
+ }
}
/*