Merge tag 'to-linus' of git://github.com/rustyrussell/linux
[firefly-linux-kernel-4.4.55.git] / kernel / rcu.h
index f600868d550dc1764f7541f3cf87c14589f007f7..aa88baab5f78a715bfca877a0dee9a81354195e2 100644 (file)
 #define RCU_TRACE(stmt)
 #endif /* #else #ifdef CONFIG_RCU_TRACE */
 
+/*
+ * Process-level increment to ->dynticks_nesting field.  This allows for
+ * architectures that use half-interrupts and half-exceptions from
+ * process context.
+ */
+#define DYNTICK_TASK_NESTING (LLONG_MAX / 2 - 1)
+
 /*
  * debug_rcu_head_queue()/debug_rcu_head_unqueue() are used internally
  * by call_rcu() and rcu callback execution, and are therefore not part of the