git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
input
/
joystick
/
analog.c
diff --git
a/drivers/input/joystick/analog.c
b/drivers/input/joystick/analog.c
index
3e83968
..
7e52f96
100644
(file)
--- a/
drivers/input/joystick/analog.c
+++ b/
drivers/input/joystick/analog.c
@@
-158,11
+158,11
@@
static unsigned int get_time_pit(void)
return count;
}
return count;
}
-#elif
__x86_64__
+#elif
defined(__x86_64__)
#define GET_TIME(x) rdtscl(x)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "TSC"
#define GET_TIME(x) rdtscl(x)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "TSC"
-#elif
__alpha__
+#elif
defined(__alpha__)
#define GET_TIME(x) do { x = get_cycles(); } while (0)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "PCC"
#define GET_TIME(x) do { x = get_cycles(); } while (0)
#define DELTA(x,y) ((y)-(x))
#define TIME_NAME "PCC"