projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9378132
)
mm/ksm: remove unused page_referenced_ksm declaration
author
Mike Rapoport
<
[email protected]
>
Fri, 8 Jun 2018 00:07:07 +0000
(17:07 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 8 Jun 2018 00:34:36 +0000
(17:34 -0700)
Commit
9f32624be943
("mm/rmap: use rmap_walk() in page_referenced()")
removed the declaration of page_referenced_ksm for the case
CONFIG_KSM=y, but left one for CONFIG_KSM=n.
Remove the unused leftover.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Mike Rapoport <
[email protected]
>
Reviewed-by: Andrew Morton <
[email protected]
>
Cc: Andrea Arcangeli <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/ksm.h
patch
|
blob
|
history
diff --git
a/include/linux/ksm.h
b/include/linux/ksm.h
index 44368b19b27e11e848ced6348c4e747396c23b6b..bbdfca3db6e18607e944094447a3048fb3bdfe65 100644
(file)
--- a/
include/linux/ksm.h
+++ b/
include/linux/ksm.h
@@
-89,12
+89,6
@@
static inline struct page *ksm_might_need_to_copy(struct page *page,
return page;
}
-static inline int page_referenced_ksm(struct page *page,
- struct mem_cgroup *memcg, unsigned long *vm_flags)
-{
- return 0;
-}
-
static inline void rmap_walk_ksm(struct page *page,
struct rmap_walk_control *rwc)
{