projects
/
platform
/
kernel
/
linux-amlogic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/process: Fix altivec SPR not being saved
[platform/kernel/linux-amlogic.git]
/
arch
/
powerpc
/
kernel
/
process.c
diff --git
a/arch/powerpc/kernel/process.c
b/arch/powerpc/kernel/process.c
index
612df30
..
b8500b4
100644
(file)
--- a/
arch/powerpc/kernel/process.c
+++ b/
arch/powerpc/kernel/process.c
@@
-983,7
+983,7
@@
void restore_tm_state(struct pt_regs *regs)
static inline void save_sprs(struct thread_struct *t)
{
#ifdef CONFIG_ALTIVEC
- if (cpu_has_feature(
cpu_has_feature(CPU_FTR_ALTIVEC)
))
+ if (cpu_has_feature(
CPU_FTR_ALTIVEC
))
t->vrsave = mfspr(SPRN_VRSAVE);
#endif
#ifdef CONFIG_PPC_BOOK3S_64