]> Pileus Git - ~andy/linux/commit
sched/numa: Reflow task_numa_group() to avoid a compiler warning
authorPeter Zijlstra <peterz@infradead.org>
Wed, 9 Oct 2013 08:24:48 +0000 (10:24 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:48:27 +0000 (14:48 +0200)
commit3354781a2184380046c8dd19144628d3c33991e6
tree013a9f5584e5e4518374db44a20385ca062fb985
parent2739d3eef3a93a92c366a3a0bb85a0afe09e8b8c
sched/numa: Reflow task_numa_group() to avoid a compiler warning

Reflow the function a bit because GCC gets confused:

  kernel/sched/fair.c: In function ‘task_numa_fault’:
  kernel/sched/fair.c:1448:3: warning: ‘my_grp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  kernel/sched/fair.c:1463:27: note: ‘my_grp’ was declared here

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-6ebt6x7u64pbbonq1khqu2z9@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c