From: Paul E. McKenney Date: Mon, 29 Apr 2013 22:06:13 +0000 (-0700) Subject: vm: adjust ifdef for TINY_RCU X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~128^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8375ad98cc1defc36adf4a77d9ea1e71db51a371;p=pandora-kernel.git vm: adjust ifdef for TINY_RCU There is an ifdef in page_cache_get_speculative() that checks for !SMP and TREE_RCU, which has been an impossible combination since the advent of TINY_RCU. The ifdef enables a fastpath that is valid when preemption is disabled by rcu_read_lock() in UP systems, which is the case when TINY_RCU is enabled. This commit therefore adjusts the ifdef to generate the fastpath when TINY_RCU is enabled. Signed-off-by: Paul E. McKenney Reported-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed