percpu: remove __get_cpu_var and __raw_get_cpu_var macros
authorChristoph Lameter <cl@linux.com>
Sat, 13 Dec 2014 00:58:42 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:53 +0000 (12:42 -0800)
No user is left in the kernel source tree.  Therefore we can drop the
definitions.

This is the final merge of the transition away from __get_cpu_var.  After
this patch the kernel will not build if anyone uses __get_cpu_var.

Signed-off-by: Christoph Lameter <cl@linux.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/percpu-defs.h

index 420032d41d27aeb269210ce27baafa5537373dda..57f3a1c550dc66e59803a2118f377a318ca7e51e 100644 (file)
@@ -254,8 +254,6 @@ do {                                                                        \
 #endif /* CONFIG_SMP */
 
 #define per_cpu(var, cpu)      (*per_cpu_ptr(&(var), cpu))
-#define __raw_get_cpu_var(var) (*raw_cpu_ptr(&(var)))
-#define __get_cpu_var(var)     (*this_cpu_ptr(&(var)))
 
 /*
  * Must be an lvalue. Since @var must be a simple identifier,