summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/patch.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/patch.c')
-rw-r--r--arch/arm/kernel/patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/patch.c b/arch/arm/kernel/patch.c
index 020560b2dcb7..a1a34722c655 100644
--- a/arch/arm/kernel/patch.c
+++ b/arch/arm/kernel/patch.c
@@ -124,5 +124,5 @@ void __kprobes patch_text(void *addr, unsigned int insn)
.insn = insn,
};
- stop_machine(patch_text_stop_machine, &patch, NULL);
+ stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL);
}