diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-28 13:16:30 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-27 22:16:31 -0400 |
commit | 9b1a4d38373a5581a4e01032a3ccdd94cd93477b (patch) | |
tree | 3d0f0ebd1ac4512551fc35e57d173870eb060c0c /arch/s390/kernel/kprobes.c | |
parent | eeec4fad963490821348a331cca6102ae1c4a7a3 (diff) |
stop_machine: Wean existing callers off stop_machine_run()
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/s390/kernel/kprobes.c')
-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 | ||