patch-2.4.14 linux/drivers/char/joystick/analog.c

Next file: linux/drivers/char/lp.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/char/joystick/analog.c linux/drivers/char/joystick/analog.c
@@ -146,7 +146,7 @@
 #define DELTA(x,y)	((y)-(x))
 #define TIME_NAME	"TSC"
 #elif __alpha__
-#define GET_TIME(x)	get_cycles(x)
+#define GET_TIME(x)	((x) = get_cycles())
 #define DELTA(x,y)	((y)-(x))
 #define TIME_NAME	"PCC"
 #else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)