From: Paul E. McKenney Date: Tue, 10 May 2011 12:58:23 +0000 (-0700) Subject: rcu: Avoid build error for third-party modules X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac6b762b2bcae0bdeae27dbe1cf276455f60eff0;p=pandora-kernel.git rcu: Avoid build error for third-party modules The initial definition of __kfree_rcu() checked a static inline function argument to see if it was a compile-time constant. Apparently not all compilers are willing to put up with this at all optimization levels. Add a nasty comment and remove the warning, relying on the fact that __kfree_rcu() is called only from kfree_rcu(), which always passes in a compile-time constant. Reported-by: Randy Dunlap Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed