hrtimer: Make enqueue mode check work on RT
[linux-2.6-block.git] / include / linux / hrtimer.h
index 15c2ba6b6316548d3f1bf65428283c4e9a402723..7d0d0a36a8f492431d62ba845ce7a77ae348c3ce 100644 (file)
@@ -107,6 +107,8 @@ enum hrtimer_restart {
  * @state:     state information (See bit values above)
  * @is_rel:    Set if the timer was armed relative
  * @is_soft:   Set if hrtimer will be expired in soft interrupt context.
+ * @is_hard:   Set if hrtimer will be expired in hard interrupt context
+ *             even on RT.
  *
  * The hrtimer structure must be initialized by hrtimer_init()
  */
@@ -118,6 +120,7 @@ struct hrtimer {
        u8                              state;
        u8                              is_rel;
        u8                              is_soft;
+       u8                              is_hard;
 };
 
 /**