summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcu.h
diff options
context:
space:
mode:
authorPaul E. McKenney2017-10-05 00:55:16 +0200
committerPaul E. McKenney2017-11-29 00:51:18 +0100
commit84585aa8b6ad24e5bdfba9db4a320a6aeed192ab (patch)
tree5a1f2c43c2bb24d8458071b848bc57a52465d81b /kernel/rcu/rcu.h
parentrcu: Add tracing to irq/NMI dyntick-idle transitions (diff)
downloadkernel-qcow2-linux-84585aa8b6ad24e5bdfba9db4a320a6aeed192ab.tar.gz
kernel-qcow2-linux-84585aa8b6ad24e5bdfba9db4a320a6aeed192ab.tar.xz
kernel-qcow2-linux-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)
/*