mirror of
https://github.com/torvalds/linux.git
synced 2026-09-15 15:01:08 -04:00
[ARM] 3855/1: Add generic time support
This patch adds Generic time-of-day support for the ARM architecture. The support is currently added using #ifdef's so that it can support sub-arches that do not (yet) have a clocksource added. As sub-arches add clocksource support, they should 'select GENERIC_TIME' Signed-off-by: Deepak Saxena <dsaxena@mvista.com> Signed-off-by: Daniel Walker <dwalker@mvista.com> Signed-off-by: Kevin Hilman <khilman@mvista.com> Acked-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
82606c66e9
commit
746140c71d
@@ -38,7 +38,9 @@ struct sys_timer {
|
||||
void (*init)(void);
|
||||
void (*suspend)(void);
|
||||
void (*resume)(void);
|
||||
#ifndef CONFIG_GENERIC_TIME
|
||||
unsigned long (*offset)(void);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NO_IDLE_HZ
|
||||
struct dyn_tick_timer *dyn_tick;
|
||||
|
||||
4
include/asm-arm/timeofday.h
Normal file
4
include/asm-arm/timeofday.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#ifndef _ASM_ARM_TIMEOFDAY_H
|
||||
#define _ASM_ARM_TIMEOFDAY_H
|
||||
#include <asm-generic/timeofday.h>
|
||||
#endif
|
||||
Reference in New Issue
Block a user