]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: kill compile warning in pcpu_populate_chunk()
authorTejun Heo <tj@kernel.org>
Sun, 1 Mar 2009 06:42:36 +0000 (15:42 +0900)
committerTejun Heo <tj@kernel.org>
Sun, 1 Mar 2009 06:42:36 +0000 (15:42 +0900)
commit8cc4df85ad6079649c7b217a31d9ccb7e4910933
tree0237b1e965f91198955aa637025263ca66c2ce5c
parent9a1524a0192c100d2e2bebf4a52518941e93aafa
percpu: kill compile warning in pcpu_populate_chunk()

Impact: remove compile warning

Mark local variable map_end in pcpu_populate_chunk() with
uninitialized_var().  The variable is always used in tandem with
map_start and guaranteed to be initialized before use but gcc doesn't
understand that.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Ingo Molnar <mingo@elte.hu>
mm/percpu.c