diff options
| author | Christoph Lameter <cl@linux.com> | 2014-12-12 19:58:42 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 15:42:53 -0500 |
| commit | 6c51ec4d18d24b2ffa69de5d60bebaeb4f8e2398 (patch) | |
| tree | 59f19ea2a7d9e697fc8ca2bf72d35334be01f517 /include | |
| parent | 37d469e7673a663cbf38360beb1eaa3224c9d272 (diff) | |
percpu: remove __get_cpu_var and __raw_get_cpu_var macros
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/percpu-defs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/percpu-defs.h b/include/linux/percpu-defs.h index 420032d41d27..57f3a1c550dc 100644 --- a/include/linux/percpu-defs.h +++ b/include/linux/percpu-defs.h | |||
| @@ -254,8 +254,6 @@ do { \ | |||
| 254 | #endif /* CONFIG_SMP */ | 254 | #endif /* CONFIG_SMP */ |
| 255 | 255 | ||
| 256 | #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu)) | 256 | #define per_cpu(var, cpu) (*per_cpu_ptr(&(var), cpu)) |
| 257 | #define __raw_get_cpu_var(var) (*raw_cpu_ptr(&(var))) | ||
| 258 | #define __get_cpu_var(var) (*this_cpu_ptr(&(var))) | ||
| 259 | 257 | ||
| 260 | /* | 258 | /* |
| 261 | * Must be an lvalue. Since @var must be a simple identifier, | 259 | * Must be an lvalue. Since @var must be a simple identifier, |
