From: Chris Metcalf Date: Fri, 1 Feb 2013 17:59:36 +0000 (-0500) Subject: drivers/input/joystick/analog.c: enable precise timer X-Git-Tag: submit/tizen_common/20140905.094502~3562^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84e4e46020cdb0e091858eb8263a2287880e2bad;p=sdk%2Femulator%2Femulator-kernel.git drivers/input/joystick/analog.c: enable precise timer Like nm10300, tile can just use get_cycles() for this. Signed-off-by: Chris Metcalf --- diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c index 358cd7e..7cd74e2 100644 --- a/drivers/input/joystick/analog.c +++ b/drivers/input/joystick/analog.c @@ -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"