aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/types.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-02-02 11:40:15 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-04-19 09:29:17 -0700
commit468d01bec544286bb5283f012b95b5b84636565b (patch)
tree637f95fd80be857eaf2e27f5383d4a4bfed3d020 /include/linux/types.h
parentlockdep: Use "WARNING" tag on lockdep splats (diff)
downloadlinux-dev-468d01bec544286bb5283f012b95b5b84636565b.tar.xz
linux-dev-468d01bec544286bb5283f012b95b5b84636565b.zip
types: Update obsolete callback_head comment
The comment header for callback_head (and thus for rcu_head) states that the bottom two bits of a pointer to these structures must be zero. This is obsolete: The new requirement is that only the bottom bit need be zero. This commit therefore updates this comment. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/types.h')
-rw-r--r--include/linux/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index 1e7bd24848fc..258099a4ed82 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -209,7 +209,7 @@ struct ustat {
* naturally due ABI requirements, but some architectures (like CRIS) have
* weird ABI and we need to ask it explicitly.
*
- * The alignment is required to guarantee that bits 0 and 1 of @next will be
+ * The alignment is required to guarantee that bit 0 of @next will be
* clear under normal conditions -- as long as we use call_rcu(),
* call_rcu_bh(), call_rcu_sched(), or call_srcu() to queue callback.
*