OSDN Git Service

s390/ctcm, netiucv: migrate variables to handle y2038 problem
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Fri, 16 Jan 2015 13:05:45 +0000 (14:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 04:54:59 +0000 (23:54 -0500)
commitee6edb9707cf2c50bc3df66b06df33a6aa8c9075
treee4affe7fbf95115b23f617f3a9c6e5dce2e26050
parent33e9fcc666e23d2a09d413ab89a43e0514b91d77
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>
drivers/s390/net/ctcm_fsms.c
drivers/s390/net/ctcm_main.c
drivers/s390/net/ctcm_main.h
drivers/s390/net/ctcm_sysfs.c
drivers/s390/net/netiucv.c