From: Rasmus Villemoes Date: Tue, 31 Mar 2015 02:55:05 +0000 (+1030) Subject: linux/cpumask.h: add typechecking to cpumask_test_cpu X-Git-Tag: omap-for-v4.1/fixes-rc1~84^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bbf7f4624856751aa4cf279a472bd14a8eb16fd;p=pandora-kernel.git linux/cpumask.h: add typechecking to cpumask_test_cpu The Subtlety (1) referred to vanished with 6ba2ef7baac2 ("cpumask: Move deprecated functions to end of header."). That used to mention some suboptimal code generation by a, by now, rather ancient gcc. With gcc 4.7, I don't see any change in the generated code by making it a static inline, so let's add type checking and get rid of the ghost reference. Signed-off-by: Rasmus Villemoes Signed-off-by: Rusty Russell --- Reading git-diff-tree failed