public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] arm64: remove redundant header file in current.h
@ 2017-03-30 12:41 Shaokun Zhang
  2017-03-30 12:59 ` Mark Rutland
  2017-03-30 18:15 ` Will Deacon
  0 siblings, 2 replies; 3+ messages in thread
From: Shaokun Zhang @ 2017-03-30 12:41 UTC (permalink / raw)
  To: linux-arm-kernel

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@hisilicon.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm64: remove redundant header file in current.h
  2017-03-30 12:41 [PATCH] arm64: remove redundant header file in current.h Shaokun Zhang
@ 2017-03-30 12:59 ` Mark Rutland
  2017-03-30 18:15 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Rutland @ 2017-03-30 12:59 UTC (permalink / raw)
  To: linux-arm-kernel

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@hisilicon.com>

Thanks for cleaning this up. FWIW:

Acked-by: Mark Rutland <mark.rutland@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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm64: remove redundant header file in current.h
  2017-03-30 12:41 [PATCH] arm64: remove redundant header file in current.h Shaokun Zhang
  2017-03-30 12:59 ` Mark Rutland
@ 2017-03-30 18:15 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2017-03-30 18:15 UTC (permalink / raw)
  To: linux-arm-kernel

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@hisilicon.com>
> ---
>  arch/arm64/include/asm/current.h | 2 --
>  1 file changed, 2 deletions(-)

This is trivial, so I'll pick it up. Thanks.

Will

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-30 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-30 12:41 [PATCH] arm64: remove redundant header file in current.h Shaokun Zhang
2017-03-30 12:59 ` Mark Rutland
2017-03-30 18:15 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox