[PATCH] arm64: remove redundant header file in current.h

Mark Rutland mark.rutland at arm.com
Thu Mar 30 05:59:09 PDT 2017


On Thu, Mar 30, 2017 at 08:41:49PM +0800, Shaokun Zhang wrote:
> Commint 9d84fb27fa1 ("arm64: restore get_current() optimisation") has 
> removed read_sysreg() and asm/sysreg.h is redundant.
> 
> This patch removes asm/sysreg.h header file.
> 
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>

Thanks for cleaning this up. FWIW:

Acked-by: Mark Rutland <mark.rutland at arm.com>

Mark.

> ---
>  arch/arm64/include/asm/current.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm64/include/asm/current.h b/arch/arm64/include/asm/current.h
> index 86c4041..f6580d4 100644
> --- a/arch/arm64/include/asm/current.h
> +++ b/arch/arm64/include/asm/current.h
> @@ -3,8 +3,6 @@
>  
>  #include <linux/compiler.h>
>  
> -#include <asm/sysreg.h>
> -
>  #ifndef __ASSEMBLY__
>  
>  struct task_struct;
> -- 
> 1.9.1
> 



More information about the linux-arm-kernel mailing list