[PATCH] OOM killer meets userspace headers
[firefly-linux-kernel-4.4.55.git] / include / linux / mm.h
index 5a6068ff5556f5fcd62566988133aa25d7591de0..d538de9019652c851fc6afc281cc1eaa0969268e 100644 (file)
@@ -1115,9 +1115,6 @@ int in_gate_area_no_task(unsigned long addr);
 #define in_gate_area(task, addr) ({(void)task; in_gate_area_no_task(addr);})
 #endif /* __HAVE_ARCH_GATE_AREA */
 
-/* /proc/<pid>/oom_adj set to -17 protects from the oom-killer */
-#define OOM_DISABLE -17
-
 int drop_caches_sysctl_handler(struct ctl_table *, int, struct file *,
                                        void __user *, size_t *, loff_t *);
 unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask,