mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 12:11:59 +00:00
drivers/input/joystick/analog.c: enable precise timer
Like nm10300, tile can just use get_cycles() for this. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
This commit is contained in:
parent
99a844b731
commit
84e4e46020
@ -162,7 +162,7 @@ static unsigned int get_time_pit(void)
|
||||
#define GET_TIME(x) do { x = get_cycles(); } while (0)
|
||||
#define DELTA(x,y) ((y)-(x))
|
||||
#define TIME_NAME "PCC"
|
||||
#elif defined(CONFIG_MN10300)
|
||||
#elif defined(CONFIG_MN10300) || defined(CONFIG_TILE)
|
||||
#define GET_TIME(x) do { x = get_cycles(); } while (0)
|
||||
#define DELTA(x, y) ((x) - (y))
|
||||
#define TIME_NAME "TSC"
|
||||
|
Loading…
Reference in New Issue
Block a user