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

Shaokun Zhang zhangshaokun at hisilicon.com
Thu Mar 30 05:41:49 PDT 2017


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>
---
 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