projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3e9a2
)
x86_64: Don't use softirq safe locks in smp_call_function
author
Andi Kleen
<ak@suse.de>
Sat, 21 Jul 2007 15:10:05 +0000
(17:10 +0200)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 01:37:08 +0000
(18:37 -0700)
It is not fully softirq safe anyways.
Can't do a WARN_ON unfortunately because it could trigger in the
panic case.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86_64/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/smp.c
b/arch/x86_64/kernel/smp.c
index 0694940b2e730b3160ade5d6046ec349ad3c351a..df4a82812adbbad89fe7d491c3ac7347553cb281 100644
(file)
--- a/
arch/x86_64/kernel/smp.c
+++ b/
arch/x86_64/kernel/smp.c
@@
-386,9
+386,9
@@
int smp_call_function_single (int cpu, void (*func) (void *info), void *info,
return 0;
}
- spin_lock
_bh
(&call_lock);
+ spin_lock(&call_lock);
__smp_call_function_single(cpu, func, info, nonatomic, wait);
- spin_unlock
_bh
(&call_lock);
+ spin_unlock(&call_lock);
put_cpu();
return 0;
}