projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: add tizen_qemu_x86_defconfig & tizen_qemu_x86_64_defconfig
[platform/kernel/linux-rpi.git]
/
mm
/
ptdump.c
diff --git
a/mm/ptdump.c
b/mm/ptdump.c
index
da75144
..
f84ea70
100644
(file)
--- a/
mm/ptdump.c
+++ b/
mm/ptdump.c
@@
-144,13
+144,13
@@
void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd)
{
const struct ptdump_range *range = st->range;
{
const struct ptdump_range *range = st->range;
- mmap_
read
_lock(mm);
+ mmap_
write
_lock(mm);
while (range->start != range->end) {
walk_page_range_novma(mm, range->start, range->end,
&ptdump_ops, pgd, st);
range++;
}
while (range->start != range->end) {
walk_page_range_novma(mm, range->start, range->end,
&ptdump_ops, pgd, st);
range++;
}
- mmap_
read
_unlock(mm);
+ mmap_
write
_unlock(mm);
/* Flush out the last page */
st->note_page(st, 0, -1, 0);
/* Flush out the last page */
st->note_page(st, 0, -1, 0);