[PATCH] RISC-V: Fix duplicate included thread_info.h

Palmer Dabbelt palmer at dabbelt.com
Mon Sep 14 23:00:46 EDT 2020


On Sun, 13 Sep 2020 17:52:02 PDT (-0700), tiantao6 at hisilicon.com wrote:
> asm/thread_info.h is included more than once, Remove the one that isn't
> necessary.
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
> ---
>  arch/riscv/kernel/head.S | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S
> index 3631147..11e2a4f 100644
> --- a/arch/riscv/kernel/head.S
> +++ b/arch/riscv/kernel/head.S
> @@ -3,7 +3,6 @@
>   * Copyright (C) 2012 Regents of the University of California
>   */
>
> -#include <asm/thread_info.h>
>  #include <asm/asm-offsets.h>
>  #include <asm/asm.h>
>  #include <linux/init.h>

Thanks, this is on for-next.



More information about the linux-riscv mailing list