]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/iopoll.h: include <linux/ktime.h> instead of <linux/hrtimer.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 24 Feb 2017 23:00:29 +0000 (15:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:56 +0000 (17:46 -0800)
commit96c98d46d7d6a35424792141ca5ce2129d5e419f
treeac239e6ebcca3a62f3c34e1c4d98ac32ada79de8
parent90a55b8cd2c3a965fdaaafeb0847655a51f1d8fb
include/linux/iopoll.h: include <linux/ktime.h> instead of <linux/hrtimer.h>

The timer APIs this header needs are ktime_get(), ktime_add_us(), and
ktime_compare().  So, including <linux/ktime.h> seems enough.  This
commit will cut unnecessary header file parsing.

Link: http://lkml.kernel.org/r/1481679225-10885-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/iopoll.h