From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-arm-kernel@lists.infradead.org, Will Deacon <will.deacon@arm.com> Cc: Robert Elliott <elliott@hp.com>, Matt Wagantall <mattw@codeaurora.org>, Arnd Bergmann <arnd@arndb.de>, Thierry Reding <thierry.reding@gmail.com>, David Howells <dhowells@redhat.com>, Thomas Gleixner <tglx@linutronix.de>, Nicolas Pitre <nico@linaro.org>, John Stultz <john.stultz@linaro.org>, Vegard Nossum <vegard.nossum@oracle.com>, Mitchel Humpherys <mitchelh@codeaurora.org>, Andrew Morton <akpm@linux-foundation.org>, Masahiro Yamada <yamada.masahiro@socionext.com>, linux-kernel@vger.kernel.org Subject: [PATCH] iopoll: include <linux/ktime.h> instead of <linux/hrtimer.h> Date: Wed, 14 Dec 2016 10:33:45 +0900 [thread overview] Message-ID: <1481679225-10885-1-git-send-email-yamada.masahiro@socionext.com> (raw) 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@socionext.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
WARNING: multiple messages have this Message-ID (diff)
From: yamada.masahiro@socionext.com (Masahiro Yamada) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] iopoll: include <linux/ktime.h> instead of <linux/hrtimer.h> Date: Wed, 14 Dec 2016 10:33:45 +0900 [thread overview] Message-ID: <1481679225-10885-1-git-send-email-yamada.masahiro@socionext.com> (raw) 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@socionext.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
next reply other threads:[~2016-12-14 1:36 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-12-14 1:33 Masahiro Yamada [this message] 2016-12-14 1:33 ` [PATCH] iopoll: include <linux/ktime.h> instead of <linux/hrtimer.h> Masahiro Yamada 2017-01-23 9:54 ` Masahiro Yamada 2017-01-23 9:54 ` Masahiro Yamada 2017-01-26 9:39 ` Masahiro Yamada 2017-01-26 9:39 ` Masahiro Yamada
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1481679225-10885-1-git-send-email-yamada.masahiro@socionext.com \ --to=yamada.masahiro@socionext.com \ --cc=akpm@linux-foundation.org \ --cc=arnd@arndb.de \ --cc=dhowells@redhat.com \ --cc=elliott@hp.com \ --cc=john.stultz@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=mattw@codeaurora.org \ --cc=mitchelh@codeaurora.org \ --cc=nico@linaro.org \ --cc=tglx@linutronix.de \ --cc=thierry.reding@gmail.com \ --cc=vegard.nossum@oracle.com \ --cc=will.deacon@arm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.