Skip to contentSkip to conversation

arm64: remove redundant header file in current.h

PATCH New Shaokun Zhang 3 participants 3 messages Mar 30, 2017 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: remove redundant header file in current.h

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.

---
 arch/arm64/include/asm/current.h | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/include/asm/current.h +0 -2
index 86c4041..f6580d4 100644
@@ -3,8 +3,6 @@
 
 #include <linux/compiler.h>
 
-#include <asm/sysreg.h>
-
 #ifndef __ASSEMBLY__
 
 struct task_struct;
Signature · 1 line
1.9.1
reviewer
#1 lore raw

PATCH 1/1 arm64: remove redundant header file in current.h

Quoted 6 lines · Shaokun Zhang

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.

Thanks for cleaning this up. FWIW:

Mark.

Quoted 20 lines
---
 arch/arm64/include/asm/current.h | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/include/asm/current.h +0 -2
index 86c4041..f6580d4 100644
@@ -3,8 +3,6 @@
 
 #include <linux/compiler.h>
 
-#include <asm/sysreg.h>
-
 #ifndef __ASSEMBLY__
 
 struct task_struct;
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/1 arm64: remove redundant header file in current.h

In reply to Shaokun Zhang
Quoted 9 lines · Shaokun Zhang

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.

---
 arch/arm64/include/asm/current.h | 2 --
 1 file changed, 2 deletions(-)

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

Will