]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit692898e742cc8e9b708a3f3510d66892b45c6380
treee4affe7fbf95115b23f617f3a9c6e5dce2e26050
parentb5967ef67a2eb1b933b41e5a0bde6a4e4faabfa7
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