diff options
| author | Jonathan Corbet <corbet@lwn.net> | 2004-10-09 01:05:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-09 01:05:26 -0700 |
| commit | 8cda68f9f35b2a047d848366709b140e7d33a9de (patch) | |
| tree | 8a7f5bd719c7d84a01ba10550586bf0fe8acb59f /include/linux | |
| parent | ee368c5c850104421108ca3fa881fcc6080324e3 (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.h | 4 |
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) \ ({ \ |
