diff options
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/kprobes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index 4f82e5b5f879..569079ec4ff0 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c | |||
@@ -197,7 +197,7 @@ void __kprobes arch_arm_kprobe(struct kprobe *p) | |||
197 | args.new = BREAKPOINT_INSTRUCTION; | 197 | args.new = BREAKPOINT_INSTRUCTION; |
198 | 198 | ||
199 | kcb->kprobe_status = KPROBE_SWAP_INST; | 199 | kcb->kprobe_status = KPROBE_SWAP_INST; |
200 | stop_machine_run(swap_instruction, &args, NR_CPUS); | 200 | stop_machine(swap_instruction, &args, NULL); |
201 | kcb->kprobe_status = status; | 201 | kcb->kprobe_status = status; |
202 | } | 202 | } |
203 | 203 | ||
@@ -212,7 +212,7 @@ void __kprobes arch_disarm_kprobe(struct kprobe *p) | |||
212 | args.new = p->opcode; | 212 | args.new = p->opcode; |
213 | 213 | ||
214 | kcb->kprobe_status = KPROBE_SWAP_INST; | 214 | kcb->kprobe_status = KPROBE_SWAP_INST; |
215 | stop_machine_run(swap_instruction, &args, NR_CPUS); | 215 | stop_machine(swap_instruction, &args, NULL); |
216 | kcb->kprobe_status = status; | 216 | kcb->kprobe_status = status; |
217 | } | 217 | } |
218 | 218 | ||
@@ -331,7 +331,7 @@ static int __kprobes kprobe_handler(struct pt_regs *regs) | |||
331 | * No kprobe at this address. The fault has not been | 331 | * No kprobe at this address. The fault has not been |
332 | * caused by a kprobe breakpoint. The race of breakpoint | 332 | * caused by a kprobe breakpoint. The race of breakpoint |
333 | * vs. kprobe remove does not exist because on s390 we | 333 | * vs. kprobe remove does not exist because on s390 we |
334 | * use stop_machine_run to arm/disarm the breakpoints. | 334 | * use stop_machine to arm/disarm the breakpoints. |
335 | */ | 335 | */ |
336 | goto no_kprobe; | 336 | goto no_kprobe; |
337 | 337 | ||