clockevents: prevent cpu online to interfere with nohz
[firefly-linux-kernel-4.4.55.git] / kernel / time / tick-internal.h
index 6e9db9734aa6213d866aaf93c1ec82ecf2ed9b18..e18014fadf953303a0e822edff601568f4ab6faf 100644 (file)
@@ -1,6 +1,10 @@
 /*
  * tick internal variable and functions used by low/high res code
  */
+
+#define TICK_DO_TIMER_NONE     -1
+#define TICK_DO_TIMER_BOOT     -2
+
 DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
 extern spinlock_t tick_device_lock;
 extern ktime_t tick_next_period;