Merge patch series "riscv: dma-mapping: unify support for cache flushes"
[platform/kernel/linux-rpi.git] / mm / oom_kill.c
index 612b559..44bde56 100644 (file)
@@ -479,8 +479,6 @@ static DECLARE_WAIT_QUEUE_HEAD(oom_victims_wait);
 
 static bool oom_killer_disabled __read_mostly;
 
-#define K(x) ((x) << (PAGE_SHIFT-10))
-
 /*
  * task->mm can be NULL if the task is the exited group leader.  So to
  * determine whether the task is using a particular mm, we examine all the
@@ -994,7 +992,6 @@ static void __oom_kill_process(struct task_struct *victim, const char *message)
        mmdrop(mm);
        put_task_struct(victim);
 }
-#undef K
 
 /*
  * Kill provided task unless it's secured by setting