diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 18:59:36 +0100 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-04 18:53:12 +0100 |
commit | 84e4e46020cdb0e091858eb8263a2287880e2bad (patch) | |
tree | 09a5bdd2d97bf270c325001d4bd9494e62d8cc45 /drivers/input/joystick/analog.c | |
parent | tile: include kernel/Kconfig.freezer in tile Kconfig (diff) | |
download | linux-84e4e46020cdb0e091858eb8263a2287880e2bad.tar.xz linux-84e4e46020cdb0e091858eb8263a2287880e2bad.zip |
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.c | 2 |
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" |