arm64: remove redundant header file in current.h
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
@@ -3,8 +3,6 @@#include <linux/compiler.h> -#include <asm/sysreg.h> -#ifndef __ASSEMBLY__struct task_struct ;
Signature · 1 line
1.9.1
Mark Rutland
reviewerPATCH 1/1 arm64: remove redundant header file in current.h
Quoted 6 lines · Shaokun Zhang
Commint
9d84fb27fa1("arm64: restoreget_current()optimisation") has removedread_sysreg()andasm/sysreg.his redundant.This patch removes
asm/sysreg.hheader file.Signed-off-by Shaokun Zhang <[email protected]>
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@@ -3,8 +3,6 @@#include <linux/compiler.h> -#include <asm/sysreg.h> -#ifndef __ASSEMBLY__struct task_struct ;Signature · 1 line
1.9.1
PATCH 1/1 arm64: remove redundant header file in current.h
In reply to Shaokun ZhangQuoted 9 lines · Shaokun Zhang
Commint
9d84fb27fa1("arm64: restoreget_current()optimisation") has removedread_sysreg()andasm/sysreg.his redundant.This patch removes
asm/sysreg.hheader file.Signed-off-by Shaokun Zhang <[email protected]>--- arch/arm64/include/asm/current.h | 2 -- 1 file changed, 2 deletions(-)
This is trivial, so I'll pick it up. Thanks.
Will