projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7baebe5
)
powerpc: Fix missing newline before {
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 16 Aug 2017 06:01:15 +0000
(16:01 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 16 Aug 2017 12:34:34 +0000
(22:34 +1000)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/process.c
b/arch/powerpc/kernel/process.c
index 9f3e2c932dccc1c3a1158fc174a8cf57e63dd75d..cd476e338768a6fdbc62bc4a23436ba880fca2ed 100644
(file)
--- a/
arch/powerpc/kernel/process.c
+++ b/
arch/powerpc/kernel/process.c
@@
-230,7
+230,8
@@
void enable_kernel_fp(void)
}
EXPORT_SYMBOL(enable_kernel_fp);
-static int restore_fp(struct task_struct *tsk) {
+static int restore_fp(struct task_struct *tsk)
+{
if (tsk->thread.load_fp || msr_tm_active(tsk->thread.regs->msr)) {
load_fp_state(¤t->thread.fp_state);
current->thread.load_fp++;