projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7e603a
)
proc: fix PG_locked reporting in /proc/kpageflags
author
Helge Bahmann
<helge.bahmann@secunet.com>
Fri, 20 Feb 2009 13:24:12 +0000
(16:24 +0300)
committer
Alexey Dobriyan
<adobriyan@gmail.com>
Tue, 24 Feb 2009 18:17:58 +0000
(21:17 +0300)
Expr always evaluates to zero.
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
fs/proc/page.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/proc/page.c
b/fs/proc/page.c
index 767d95a6d1b1bfdd713226915fb20bcca921347d..2d1345112a42d83ea0317dcd551e4766fb879bb8 100644
(file)
--- a/
fs/proc/page.c
+++ b/
fs/proc/page.c
@@
-107,7
+107,7
@@
static ssize_t kpageflags_read(struct file *file, char __user *buf,
else
kflags = ppage->flags;
- uflags = kpf_copy_bit(
KPF_LOCKED, PG_locked, kflags
) |
+ uflags = kpf_copy_bit(
kflags, KPF_LOCKED, PG_locked
) |
kpf_copy_bit(kflags, KPF_ERROR, PG_error) |
kpf_copy_bit(kflags, KPF_REFERENCED, PG_referenced) |
kpf_copy_bit(kflags, KPF_UPTODATE, PG_uptodate) |