It is called from common code, but has architecture specific implementations.
Have one declaration instead of two.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
return 0;
}
-struct tm;
-struct tm wallclock_time(void);
-
/* List of timer's IRQ */
enum timer_ppi
{
int cpu_frequency_change(u64 freq);
-struct tm;
-struct tm wallclock_time(void);
-
void pit_broadcast_enter(void);
void pit_broadcast_exit(void);
int pit_broadcast_is_available(void);
int tm_isdst; /* daylight saving time */
};
struct tm gmtime(unsigned long t);
+struct tm wallclock_time(void);
#define SYSTEM_TIME_HZ 1000000000ULL
#define NOW() ((s_time_t)get_s_time())