lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 14 Dec 2016 10:33:45 +0900 From: Masahiro Yamada <yamada.masahiro@...ionext.com> To: linux-arm-kernel@...ts.infradead.org, Will Deacon <will.deacon@....com> Cc: Robert Elliott <elliott@...com>, Matt Wagantall <mattw@...eaurora.org>, Arnd Bergmann <arnd@...db.de>, Thierry Reding <thierry.reding@...il.com>, David Howells <dhowells@...hat.com>, Thomas Gleixner <tglx@...utronix.de>, Nicolas Pitre <nico@...aro.org>, John Stultz <john.stultz@...aro.org>, Vegard Nossum <vegard.nossum@...cle.com>, Mitchel Humpherys <mitchelh@...eaurora.org>, Andrew Morton <akpm@...ux-foundation.org>, Masahiro Yamada <yamada.masahiro@...ionext.com>, linux-kernel@...r.kernel.org Subject: [PATCH] iopoll: 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. Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com> --- I was not quite sure whom I should send this patch to. I am sending this to Will Deacon because commit 54c523127bcc ("iopoll: Introduce memory-mapped IO polling macros") was applied by him. include/linux/iopoll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iopoll.h b/include/linux/iopoll.h index 1c30014..d29e1e2 100644 --- a/include/linux/iopoll.h +++ b/include/linux/iopoll.h @@ -17,7 +17,7 @@ #include <linux/kernel.h> #include <linux/types.h> -#include <linux/hrtimer.h> +#include <linux/ktime.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/io.h> -- 2.7.4
Powered by blists - more mailing lists