]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "htrimer: fix kabi break."
authorGuangyu Sun <guangyu.sun@oracle.com>
Thu, 4 Oct 2012 22:46:56 +0000 (15:46 -0700)
committerGuangyu Sun <guangyu.sun@oracle.com>
Thu, 4 Oct 2012 22:46:56 +0000 (15:46 -0700)
This reverts commit 4e0ad5132c7cdd5fe3a95470b31f4e5d689eed12.

Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
include/linux/hrtimer.h

index c2012e3fb08e26cc5d8ec173ec167e724b09394b..cc07d2777bbe6b11a632840c5f0a867436bbeac5 100644 (file)
@@ -178,7 +178,8 @@ enum  hrtimer_base_type {
  */
 struct hrtimer_cpu_base {
        raw_spinlock_t                  lock;
-       unsigned long                   active_bases;
+       unsigned int                    active_bases;
+       unsigned int                    clock_was_set;
 #ifdef CONFIG_HIGH_RES_TIMERS
        ktime_t                         expires_next;
        int                             hres_active;
@@ -189,9 +190,6 @@ struct hrtimer_cpu_base {
        ktime_t                         max_hang_time;
 #endif
        struct hrtimer_clock_base       clock_base[HRTIMER_MAX_CLOCK_BASES];
-#ifndef __GENKSYMS__
-       unsigned int                    clock_was_set;
-#endif
 };
 
 static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time)