OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm/memory: remove unnecessary pte_devmap case in copy_one_pte()
[tomoyo/tomoyo-test1.git]
/
mm
/
memory.c
diff --git
a/mm/memory.c
b/mm/memory.c
index
f703fe8
..
2143827
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-802,8
+802,6
@@
copy_one_pte(struct mm_struct *dst_mm, struct mm_struct *src_mm,
get_page(page);
page_dup_rmap(page, false);
rss[mm_counter(page)]++;
get_page(page);
page_dup_rmap(page, false);
rss[mm_counter(page)]++;
- } else if (pte_devmap(pte)) {
- page = pte_page(pte);
}
out_set_pte:
}
out_set_pte: