Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361381
b: refs/heads/master
c: 6fdd496
h: refs/heads/master
i:
  361379: fcac394
v: v3
  • Loading branch information
Arnd Bergmann committed Mar 14, 2013
1 parent 16f8258 commit b74fbef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01ffe957e2f0340a13fd40a6577d029f252ad7c7
refs/heads/master: 6fdd496e07f511a94ba27e4a1433038b32d6af05
8 changes: 2 additions & 6 deletions trunk/drivers/input/joystick/analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,10 @@ static unsigned int get_time_pit(void)
#define GET_TIME(x) rdtscl(x)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "TSC"
#elif defined(__alpha__)
#elif defined(__alpha__) || defined(CONFIG_MN10300) || defined(CONFIG_ARM) || defined(CONFIG_TILE)
#define GET_TIME(x) do { x = get_cycles(); } while (0)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "PCC"
#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"
#define TIME_NAME "get_cycles"
#else
#define FAKE_TIME
static unsigned long analog_faketime = 0;
Expand Down

0 comments on commit b74fbef

Please sign in to comment.