Skip to content

Commit

Permalink
include/linux/oom.h: remove undefined oom_kills_count()/note_oom_kill()
Browse files Browse the repository at this point in the history
A leftover from commit c32b3cb ("oom, PM: make OOM detection in the
freezer path raceless").

Signed-off-by: Tetsuo Handa <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Tetsuo Handa authored and torvalds committed Mar 25, 2016
1 parent d9dddbf commit aaf4fb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/oom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit aaf4fb7

Please sign in to comment.