sched/fair: Move init_numa_balancing() below task_numa_work()
authorValentin Schneider <valentin.schneider@arm.com>
Mon, 15 Jul 2019 10:25:06 +0000 (11:25 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Jul 2019 13:51:51 +0000 (15:51 +0200)
commitd35927a144641700c8328d707d1c89d305b4ecb8
treefbd394f93df9ed8edb6ee23969be9d216df09ba6
parentcb361d8cdef69990f6b4504dc1fd9a594d983c97
sched/fair: Move init_numa_balancing() below task_numa_work()

To reference task_numa_work() from within init_numa_balancing(), we
need the former to be declared before the latter. Do just that.

This is a pure code movement.

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-2-valentin.schneider@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c