summaryrefslogtreecommitdiff
path: root/include/linux/blkpg.h
diff options
context:
space:
mode:
authorChunyan Zhang <zhang.chunyan@linaro.org>2017-11-06 17:06:10 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-14 18:35:27 +0300
commit1edba6484b19d288e11722d72b55a4b919fb059e (patch)
tree5417bb53998d9eeefdb22146d9f83e0ea25c5d06 /include/linux/blkpg.h
parent4957133fe32fec9a5fc57ce95b6107e976dcc251 (diff)
downloadlinux-1edba6484b19d288e11722d72b55a4b919fb059e.tar.xz
media: rc: Replace timeval with ktime_t in imon.c
This patch changes the 32-bit time type (timeval) to the 64-bit one (ktime_t), since 32-bit time types will break in the year 2038. I use ktime_t instead of all uses of timeval in imon.c This patch also changes do_gettimeofday() to ktime_get() accordingly, since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval, and the other reason is that ktime_get() uses the monotonic clock. Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux/blkpg.h')
0 files changed, 0 insertions, 0 deletions