summaryrefslogtreecommitdiff
path: root/drivers/input/joystick/analog.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-02-01 21:59:36 +0400
committerChris Metcalf <cmetcalf@tilera.com>2013-02-04 21:53:12 +0400
commit84e4e46020cdb0e091858eb8263a2287880e2bad (patch)
tree09a5bdd2d97bf270c325001d4bd9494e62d8cc45 /drivers/input/joystick/analog.c
parent99a844b7319fef4f41794efdc3ecdd74920cd756 (diff)
downloadlinux-84e4e46020cdb0e091858eb8263a2287880e2bad.tar.xz
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>
Diffstat (limited to 'drivers/input/joystick/analog.c')
-rw-r--r--drivers/input/joystick/analog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c
index 358cd7ee905b..7cd74e29cbc8 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"