diff options
Diffstat (limited to 'include/linux/gfp.h')
-rw-r--r-- | include/linux/gfp.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h index c32bfa8e7f1e..f53e9b868c26 100644 --- a/include/linux/gfp.h +++ b/include/linux/gfp.h | |||
@@ -335,18 +335,6 @@ void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp); | |||
335 | void drain_all_pages(void); | 335 | void drain_all_pages(void); |
336 | void drain_local_pages(void *dummy); | 336 | void drain_local_pages(void *dummy); |
337 | 337 | ||
338 | extern bool oom_killer_disabled; | ||
339 | |||
340 | static inline void oom_killer_disable(void) | ||
341 | { | ||
342 | oom_killer_disabled = true; | ||
343 | } | ||
344 | |||
345 | static inline void oom_killer_enable(void) | ||
346 | { | ||
347 | oom_killer_disabled = false; | ||
348 | } | ||
349 | |||
350 | extern gfp_t gfp_allowed_mask; | 338 | extern gfp_t gfp_allowed_mask; |
351 | 339 | ||
352 | static inline void set_gfp_allowed_mask(gfp_t mask) | 340 | static inline void set_gfp_allowed_mask(gfp_t mask) |