The lock_chain struct definition has outdated comment, update it.

Signed-off-by: Yuyang Du <duyuy...@gmail.com>
---
 include/linux/lockdep.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index 79c3873..1258a62 100644
--- a/include/linux/lockdep.h
+++ b/include/linux/lockdep.h
@@ -202,7 +202,11 @@ struct lock_list {
  * We record lock dependency chains, so that we can cache them:
  */
 struct lock_chain {
-       /* see BUILD_BUG_ON()s in lookup_chain_cache() */
+       /*
+        * irq_context: the same as irq_context in held_lock below
+        * depth:       the number of held locks in this chain
+        * base:        the index in chain_hlocks for this chain
+        */
        unsigned int                    irq_context :  2,
                                        depth       :  6,
                                        base        : 24;
-- 
1.8.3.1

Reply via email to