summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2004-10-09 01:05:26 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-09 01:05:26 -0700
commit8cda68f9f35b2a047d848366709b140e7d33a9de (patch)
tree8a7f5bd719c7d84a01ba10550586bf0fe8acb59f /include/linux
parentee368c5c850104421108ca3fa881fcc6080324e3 (diff)
[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 <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/percpu.h4
1 files changed, 2 insertions, 2 deletions
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) \
({ \