|
@@ -164,13 +164,13 @@ enum hrtimer_base_type {
|
|
* @hres_active: State of high resolution mode
|
|
* @hres_active: State of high resolution mode
|
|
* @in_hrtirq: hrtimer_interrupt() is currently executing
|
|
* @in_hrtirq: hrtimer_interrupt() is currently executing
|
|
* @hang_detected: The last hrtimer interrupt detected a hang
|
|
* @hang_detected: The last hrtimer interrupt detected a hang
|
|
- * @next_timer: Pointer to the first expiring timer
|
|
|
|
* @nr_events: Total number of hrtimer interrupt events
|
|
* @nr_events: Total number of hrtimer interrupt events
|
|
* @nr_retries: Total number of hrtimer interrupt retries
|
|
* @nr_retries: Total number of hrtimer interrupt retries
|
|
* @nr_hangs: Total number of hrtimer interrupt hangs
|
|
* @nr_hangs: Total number of hrtimer interrupt hangs
|
|
* @max_hang_time: Maximum time spent in hrtimer_interrupt
|
|
* @max_hang_time: Maximum time spent in hrtimer_interrupt
|
|
* @expires_next: absolute time of the next event, is required for remote
|
|
* @expires_next: absolute time of the next event, is required for remote
|
|
* hrtimer enqueue
|
|
* hrtimer enqueue
|
|
|
|
+ * @next_timer: Pointer to the first expiring timer
|
|
* @clock_base: array of clock bases for this cpu
|
|
* @clock_base: array of clock bases for this cpu
|
|
*
|
|
*
|
|
* Note: next_timer is just an optimization for __remove_hrtimer().
|
|
* Note: next_timer is just an optimization for __remove_hrtimer().
|
|
@@ -186,13 +186,13 @@ struct hrtimer_cpu_base {
|
|
#ifdef CONFIG_HIGH_RES_TIMERS
|
|
#ifdef CONFIG_HIGH_RES_TIMERS
|
|
unsigned int in_hrtirq : 1,
|
|
unsigned int in_hrtirq : 1,
|
|
hang_detected : 1;
|
|
hang_detected : 1;
|
|
- struct hrtimer *next_timer;
|
|
|
|
unsigned int nr_events;
|
|
unsigned int nr_events;
|
|
unsigned short nr_retries;
|
|
unsigned short nr_retries;
|
|
unsigned short nr_hangs;
|
|
unsigned short nr_hangs;
|
|
unsigned int max_hang_time;
|
|
unsigned int max_hang_time;
|
|
#endif
|
|
#endif
|
|
ktime_t expires_next;
|
|
ktime_t expires_next;
|
|
|
|
+ struct hrtimer *next_timer;
|
|
struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES];
|
|
struct hrtimer_clock_base clock_base[HRTIMER_MAX_CLOCK_BASES];
|
|
} ____cacheline_aligned;
|
|
} ____cacheline_aligned;
|
|
|
|
|