From: Tetsuo Handa Date: Fri, 25 Mar 2016 21:21:53 +0000 (-0700) Subject: include/linux/oom.h: remove undefined oom_kills_count()/note_oom_kill() X-Git-Tag: v4.9.8~2391^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aaf4fb712b8311d8b950e89937479d61e9c25ba8;p=platform%2Fkernel%2Flinux-rpi3.git include/linux/oom.h: remove undefined oom_kills_count()/note_oom_kill() A leftover from commit c32b3cbe0d06 ("oom, PM: make OOM detection in the freezer path raceless"). Signed-off-by: Tetsuo Handa Acked-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/oom.h b/include/linux/oom.h index 45993b8..628a432 100644 --- a/include/linux/oom.h +++ b/include/linux/oom.h @@ -76,8 +76,6 @@ extern unsigned long oom_badness(struct task_struct *p, struct mem_cgroup *memcg, const nodemask_t *nodemask, unsigned long totalpages); -extern int oom_kills_count(void); -extern void note_oom_kill(void); extern void oom_kill_process(struct oom_control *oc, struct task_struct *p, unsigned int points, unsigned long totalpages, struct mem_cgroup *memcg, const char *message);