]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
include/linux/oom.h: remove undefined oom_kills_count()/note_oom_kill()
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fri, 25 Mar 2016 21:21:53 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Mar 2016 23:37:42 +0000 (16:37 -0700)
A leftover from commit c32b3cbe0d06 ("oom, PM: make OOM detection in the
freezer path raceless").

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/oom.h

index 45993b840ed6ad84a33bd61adf69ffdfe34cae38..628a43242a343af5a3aab7779accd8ec32ad9406 100644 (file)
@@ -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);