From 8cda68f9f35b2a047d848366709b140e7d33a9de Mon Sep 17 00:00:00 2001 From: Jonathan Corbet Date: Sat, 9 Oct 2004 01:05:26 -0700 Subject: [PATCH] Remove get_cpu_ptr() comment reference Since get_cpu_ptr() went away, we probably shouldn't tease developers by telling them to use it in the comments. Signed-off-by: Jonathan Corbet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/percpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/linux/percpu.h b/include/linux/percpu.h index a493e372201e..5451eb1e781d 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -24,8 +24,8 @@ struct percpu_data { /* * Use this to get to a cpu's version of the per-cpu object allocated using - * alloc_percpu. If you want to get "this cpu's version", maybe you want - * to use get_cpu_ptr... + * alloc_percpu. Non-atomic access to the current CPU's version should + * probably be combined with get_cpu()/put_cpu(). */ #define per_cpu_ptr(ptr, cpu) \ ({ \ -- cgit v1.2.3