]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
time: Fixup fallout from recent clockevent/tick changes petalinux-v2014.2-final
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 Apr 2014 15:32:12 +0000 (08:32 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 13 May 2014 13:16:49 +0000 (15:16 +0200)
Make the stub function static inline instead of static and move the
clockevents related function into the proper ifdeffed section.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Soren Brinkmann <soren.brinkmann@xilinx.com>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
(cherry picked from commit f1689bb7abec8e2e670d8ad11eaa86d54bad8cfd)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
kernel/time/tick-internal.h

index 26f1c0ba9d812274969301cf7279cc301246e22e..259eaf8ff9b5ce53a26ef5450896654612bc18bf 100644 (file)
@@ -155,8 +155,9 @@ static inline int tick_device_is_functional(struct clock_event_device *dev)
        return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
 }
 
+int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
+
 #endif
 
-int __clockevents_update_freq(struct clock_event_device *dev, u32 freq);
 extern void do_timer(unsigned long ticks);
 extern void update_wall_time(void);