summaryrefslogtreecommitdiff
path: root/kernel/rcu/rcu.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-10-04 15:55:16 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2017-11-28 15:51:18 -0800
commit84585aa8b6ad24e5bdfba9db4a320a6aeed192ab (patch)
tree5a1f2c43c2bb24d8458071b848bc57a52465d81b /kernel/rcu/rcu.h
parentbd2b879a1ca55486fdb9dcac691bfd3dd79c83d6 (diff)
downloadlwn-84585aa8b6ad24e5bdfba9db4a320a6aeed192ab.tar.gz
lwn-84585aa8b6ad24e5bdfba9db4a320a6aeed192ab.zip
rcu: Shrink ->dynticks_{nmi_,}nesting from long long to long
Because the ->dynticks_nesting field now only contains the process-based nesting level instead of a value encoding both the process nesting level and the irq "nesting" level, we no longer need a long long, even on 32-bit systems. This commit therefore changes both the ->dynticks_nesting and ->dynticks_nmi_nesting fields to long. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcu.h')
-rw-r--r--kernel/rcu/rcu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcu/rcu.h b/kernel/rcu/rcu.h
index afe0559d1867..6334f2c1abd0 100644
--- a/kernel/rcu/rcu.h
+++ b/kernel/rcu/rcu.h
@@ -31,7 +31,7 @@
#endif /* #else #ifdef CONFIG_RCU_TRACE */
/* Offset to allow for unmatched rcu_irq_{enter,exit}(). */
-#define DYNTICK_IRQ_NONIDLE ((INT_MAX / 2) + 1)
+#define DYNTICK_IRQ_NONIDLE ((LONG_MAX / 2) + 1)
/*