summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb_cgroup.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-03-10 00:51:17 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-05-27 21:59:02 +0200
commit3eaaaf6cd6d7fbaf552cc543ccb93d7da81f43ec (patch)
tree2d4857df44b8b855ae57741b870afbba5183b405 /mm/hugetlb_cgroup.c
parentrcu: Modulate grace-period slow init to normalize delay (diff)
downloadlinux-3eaaaf6cd6d7fbaf552cc543ccb93d7da81f43ec.tar.xz
linux-3eaaaf6cd6d7fbaf552cc543ccb93d7da81f43ec.zip
rcu: Shut up spurious gcc uninitialized-variable warning
Because gcc doesn't realize that rcu_num_lvls must be strictly greater than zero, some versions give a spurious warning about levelcnt[0] being uninitialized in rcu_init_one(). This commit updates the condition on the pre-existing panic() in order to educate gcc on this point. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions