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:
7930e53
)
x86: remove irqs disabled warning.
author
Glauber Costa
<gcosta@redhat.com>
Mon, 3 Mar 2008 17:12:44 +0000
(14:12 -0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:40:55 +0000
(17:40 +0200)
there's already a warning in the topmost function
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smp_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/smp_64.c
b/arch/x86/kernel/smp_64.c
index a434f6c55f837b1d06bc9b7ae5b93e0b5afbd997..b040224927ca2b004713eb0b87987633ccda7cba 100644
(file)
--- a/
arch/x86/kernel/smp_64.c
+++ b/
arch/x86/kernel/smp_64.c
@@
-420,9
+420,6
@@
int smp_call_function_single (int cpu, void (*func) (void *info), void *info,
/* prevent preemption and reschedule on another processor */
int ret, me = get_cpu();
- /* Can deadlock when called with interrupts disabled */
- WARN_ON(irqs_disabled());
-
if (cpu == me) {
local_irq_disable();
func(info);