diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2015-01-16 14:05:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-17 23:54:59 -0500 |
commit | ee6edb9707cf2c50bc3df66b06df33a6aa8c9075 (patch) | |
tree | e4affe7fbf95115b23f617f3a9c6e5dce2e26050 /drivers/s390/net/ctcm_main.h | |
parent | 33e9fcc666e23d2a09d413ab89a43e0514b91d77 (diff) | |
download | talos-obmc-linux-ee6edb9707cf2c50bc3df66b06df33a6aa8c9075.tar.gz talos-obmc-linux-ee6edb9707cf2c50bc3df66b06df33a6aa8c9075.zip |
s390/ctcm, netiucv: migrate variables to handle y2038 problem
This patch is concerned with migrating the time variables for the s390
network drivers. The changes handle the y2038 problem where timespec will
overflow in the year 2038. timespec was replaced by unsigned long and
all time variables get their values from the jiffies global variable.
This was done for the sake of speed and efficiency.
Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/ctcm_main.h')
-rw-r--r-- | drivers/s390/net/ctcm_main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/ctcm_main.h b/drivers/s390/net/ctcm_main.h index 477c933685f3..6f4417c80247 100644 --- a/drivers/s390/net/ctcm_main.h +++ b/drivers/s390/net/ctcm_main.h @@ -121,7 +121,7 @@ struct ctcm_profile { unsigned long doios_multi; unsigned long txlen; unsigned long tx_time; - struct timespec send_stamp; + unsigned long send_stamp; }; /* |