]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/pcifront: Remove usage of struct timeval
authorTina Ruchandani <ruchandani.tina@gmail.com>
Tue, 19 May 2015 06:08:09 +0000 (11:38 +0530)
committerElena Ufimtseva <elena.ufimtseva@oracle.com>
Wed, 12 Aug 2015 10:05:56 +0000 (06:05 -0400)
commit00c4e97c80c57522d22e767b01c027598ba79f6c
treed3ba4c467a0c5c722235f388ef579530d3c0f60e
parent24f4a54dd82450533a57aa2822bc7aa63ecda26e
xen/pcifront: Remove usage of struct timeval

struct timeval uses a 32-bit field for representing seconds, which
will overflow in the year 2038 and beyond. Replace struct timeval with
64-bit ktime_t which is 2038 safe.  This is part of a larger effort to
remove instances of 32-bit timekeeping variables (timeval, time_t and
timespec) from the kernel.

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit e1d5bbcdc7ca08d8731f5d780f0de342a768d96a)
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
drivers/pci/xen-pcifront.c