sched/fair: Change task_numa_work() storage to static
authorValentin Schneider <valentin.schneider@arm.com>
Mon, 15 Jul 2019 10:25:08 +0000 (11:25 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Jul 2019 13:51:52 +0000 (15:51 +0200)
There are no callers outside of fair.c.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: mgorman@suse.de
Cc: riel@surriel.com
Link: https://lkml.kernel.org/r/20190715102508.32434-4-valentin.schneider@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c

index fd391fc00ed8608df9e15d9db227028cbd797eed..b5546a15206c040c28febb77821bef310b6a4cca 100644 (file)
@@ -2482,7 +2482,7 @@ static void reset_ptenuma_scan(struct task_struct *p)
  * The expensive part of numa migration is done from task_work context.
  * Triggered from task_tick_numa().
  */
-void task_numa_work(struct callback_head *work)
+static void task_numa_work(struct callback_head *work)
 {
        unsigned long migrate, next_scan, now = jiffies;
        struct task_struct *p = current;