diff options
Diffstat (limited to 'include/linux/oom.h')
-rw-r--r-- | include/linux/oom.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/oom.h b/include/linux/oom.h index 4a4188da4570..922dab164eb0 100644 --- a/include/linux/oom.h +++ b/include/linux/oom.h | |||
@@ -29,8 +29,8 @@ enum oom_scan_t { | |||
29 | OOM_SCAN_SELECT, /* always select this thread first */ | 29 | OOM_SCAN_SELECT, /* always select this thread first */ |
30 | }; | 30 | }; |
31 | 31 | ||
32 | extern void compare_swap_oom_score_adj(int old_val, int new_val); | 32 | extern void compare_swap_oom_score_adj(short old_val, short new_val); |
33 | extern int test_set_oom_score_adj(int new_val); | 33 | extern short test_set_oom_score_adj(short new_val); |
34 | 34 | ||
35 | extern unsigned long oom_badness(struct task_struct *p, | 35 | extern unsigned long oom_badness(struct task_struct *p, |
36 | struct mem_cgroup *memcg, const nodemask_t *nodemask, | 36 | struct mem_cgroup *memcg, const nodemask_t *nodemask, |