Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98733
b: refs/heads/master
c: 20cbc97
h: refs/heads/master
i:
  98731: 6a3fc11
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 5, 2008
1 parent 4ae9b10 commit 34263de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbe0825752dc34b505777fd59cde4a6ce832eb16
refs/heads/master: 20cbc972617069c1ed434f62151e4de57d26ea46
8 changes: 4 additions & 4 deletions trunk/fs/proc/task_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ static ssize_t clear_refs_write(struct file *file, const char __user *buf,
return -ESRCH;
mm = get_task_mm(task);
if (mm) {
static struct mm_walk clear_refs_walk;
memset(&clear_refs_walk, 0, sizeof(clear_refs_walk));
clear_refs_walk.pmd_entry = clear_refs_pte_range;
clear_refs_walk.mm = mm;
struct mm_walk clear_refs_walk = {
.pmd_entry = clear_refs_pte_range,
.mm = mm,
};
down_read(&mm->mmap_sem);
for (vma = mm->mmap; vma; vma = vma->vm_next) {
clear_refs_walk.private = vma;
Expand Down

0 comments on commit 34263de

Please sign in to comment.