Commit 84e4e460 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

drivers/input/joystick/analog.c: enable precise timer



Like nm10300, tile can just use get_cycles() for this.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent 99a844b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -162,7 +162,7 @@ static unsigned int get_time_pit(void)
#define GET_TIME(x)	do { x = get_cycles(); } while (0)
#define GET_TIME(x)	do { x = get_cycles(); } while (0)
#define DELTA(x,y)	((y)-(x))
#define DELTA(x,y)	((y)-(x))
#define TIME_NAME	"PCC"
#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 GET_TIME(x)	do { x = get_cycles(); } while (0)
#define DELTA(x, y)	((x) - (y))
#define DELTA(x, y)	((x) - (y))
#define TIME_NAME	"TSC"
#define TIME_NAME	"TSC"