Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338584

Re: [PATCH] arm64: remove redundant preempt.h

From "Shi, Yang" <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: remove redundant preempt.h
Date 2016-02-20 01:10 +0100
Message-ID <r43hw-4Ya-9@gated-at.bofh.it> (permalink)
References <r1qtY-27E-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Will & Catalin,

Any comment on this one?

Thanks,
Yang

On 2/12/2016 9:56 AM, Yang Shi wrote:
> preempt.h has been included by sched.h, so it is not necessary to include
> both, just keep sched.h.
>
> Signed-off-by: Yang Shi <yang.shi@linaro.org>
> ---
> Happened to find this when checking preempt.h include for another patch review.
> Build test is passed with and without CONFIG_PREEMPT enabled.
>
>   arch/arm64/kernel/cpuinfo.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c
> index 212ae63..e2b37ff 100644
> --- a/arch/arm64/kernel/cpuinfo.c
> +++ b/arch/arm64/kernel/cpuinfo.c
> @@ -25,7 +25,6 @@
>   #include <linux/init.h>
>   #include <linux/kernel.h>
>   #include <linux/personality.h>
> -#include <linux/preempt.h>
>   #include <linux/printk.h>
>   #include <linux/seq_file.h>
>   #include <linux/sched.h>
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: remove redundant preempt.h Yang Shi <yang.shi@linaro.org> - 2016-02-12 19:20 +0100
  Re: [PATCH] arm64: remove redundant preempt.h "Shi, Yang" <yang.shi@linaro.org> - 2016-02-20 01:10 +0100
    Re: [PATCH] arm64: remove redundant preempt.h Will Deacon <will.deacon@arm.com> - 2016-02-22 11:00 +0100
      Re: [PATCH] arm64: remove redundant preempt.h Mark Rutland <mark.rutland@arm.com> - 2016-02-22 18:10 +0100

csiph-web