From: Sasha Levin Date: Tue, 26 Mar 2013 15:35:16 +0000 (-0400) Subject: rcu: Don't allocate bootmem from rcu_init() X-Git-Tag: v3.10-rc2~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=615ee5443ff9bedd356dc6865f3e9c276ce434ea;p=pandora-kernel.git rcu: Don't allocate bootmem from rcu_init() When rcu_init() is called we already have slab working, allocating bootmem at that point results in warnings and an allocation from slab. This commit therefore changes alloc_bootmem_cpumask_var() to alloc_cpumask_var() in rcu_bootup_announce_oddness(), which is called from rcu_init(). Signed-off-by: Sasha Levin Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett Tested-by: Robin Holt [paulmck: convert to zalloc_cpumask_var(), as suggested by Yinghai Lu.] --- Reading git-diff-tree failed