From: Paul E. McKenney Date: Mon, 20 Apr 2015 21:27:43 +0000 (-0700) Subject: rcu: Make RCU able to tolerate undefined CONFIG_RCU_FANOUT X-Git-Tag: omap-for-v4.3/legacy-v2-signed~212^2^2^5~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c5df31afd1092ca6322094d22aff6351fa67fe;p=pandora-kernel.git rcu: Make RCU able to tolerate undefined CONFIG_RCU_FANOUT This commit introduces an RCU_FANOUT C-preprocessor macro so that RCU will build even when CONFIG_RCU_FANOUT is undefined. The RCU_FANOUT macro is set to the value of CONFIG_RCU_FANOUT when defined, otherwise it is set to 32 for 32-bit systems and 64 for 64-bit systems. This commit then makes CONFIG_RCU_FANOUT depend on CONFIG_RCU_EXPERT, so that Kconfig users won't be asked about CONFIG_RCU_FANOUT unless they want to be. Reported-by: Ingo Molnar Signed-off-by: Paul E. McKenney Reviewed-by: Pranith Kumar --- Reading git-diff-tree failed