projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df07443
)
arm64/fpsimd: Remove duplicate SYS_SVCR read
author
Schspa Shi
<schspa@gmail.com>
Wed, 29 Jun 2022 05:10:23 +0000
(13:10 +0800)
committer
Will Deacon
<will@kernel.org>
Wed, 29 Jun 2022 09:29:30 +0000
(10:29 +0100)
It seems to be a typo, remove the duplicate SYS_SVCR read.
Signed-off-by: Schspa Shi <schspa@gmail.com>
Link:
https://lore.kernel.org/r/20220629051023.18173-1-schspa@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/fpsimd.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/fpsimd.c
b/arch/arm64/kernel/fpsimd.c
index
aecf307
..
dd63ffc
100644
(file)
--- a/
arch/arm64/kernel/fpsimd.c
+++ b/
arch/arm64/kernel/fpsimd.c
@@
-445,7
+445,6
@@
static void fpsimd_save(void)
if (system_supports_sme()) {
u64 *svcr = last->svcr;
- *svcr = read_sysreg_s(SYS_SVCR);
*svcr = read_sysreg_s(SYS_SVCR);