projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/kernel...
[platform/kernel/linux-starfive.git]
/
arch
/
powerpc
/
kernel
/
process.c
diff --git
a/arch/powerpc/kernel/process.c
b/arch/powerpc/kernel/process.c
index
0fbda89
..
40834ef
100644
(file)
--- a/
arch/powerpc/kernel/process.c
+++ b/
arch/powerpc/kernel/process.c
@@
-127,7
+127,7
@@
unsigned long notrace msr_check_and_set(unsigned long bits)
newmsr |= MSR_VSX;
if (oldmsr != newmsr)
newmsr |= MSR_VSX;
if (oldmsr != newmsr)
-
mtmsr_isync
(newmsr);
+
newmsr = mtmsr_isync_irqsafe
(newmsr);
return newmsr;
}
return newmsr;
}
@@
-145,7
+145,7
@@
void notrace __msr_check_and_clear(unsigned long bits)
newmsr &= ~MSR_VSX;
if (oldmsr != newmsr)
newmsr &= ~MSR_VSX;
if (oldmsr != newmsr)
- mtmsr_isync(newmsr);
+ mtmsr_isync
_irqsafe
(newmsr);
}
EXPORT_SYMBOL(__msr_check_and_clear);
}
EXPORT_SYMBOL(__msr_check_and_clear);
@@
-1655,11
+1655,6
@@
EXPORT_SYMBOL_GPL(set_thread_tidr);
#endif /* CONFIG_PPC64 */
#endif /* CONFIG_PPC64 */
-void
-release_thread(struct task_struct *t)
-{
-}
-
/*
* this gets called so that we can store coprocessor state into memory and
* copy the current task into the new thread.
/*
* this gets called so that we can store coprocessor state into memory and
* copy the current task into the new thread.