summaryrefslogtreecommitdiffstats
path: root/include/linux/vmacache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/vmacache.h')
-rw-r--r--include/linux/vmacache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/vmacache.h b/include/linux/vmacache.h
index c3fa0fd43949..1081db987391 100644
--- a/include/linux/vmacache.h
+++ b/include/linux/vmacache.h
@@ -12,7 +12,7 @@
static inline void vmacache_flush(struct task_struct *tsk)
{
- memset(tsk->vmacache, 0, sizeof(tsk->vmacache));
+ memset(tsk->vmacache.vmas, 0, sizeof(tsk->vmacache.vmas));
}
extern void vmacache_flush_all(struct mm_struct *mm);