diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-28 11:37:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-28 11:37:46 -0400 |
commit | 37eaf8c7463e53cf1acf025fb566fb6c4573297f (patch) | |
tree | 9df7e9e3e7722d9ddf257e19fd8551425d27a292 /arch | |
parent | 58f250714f2bfa3514798fde8b9d38a15e4a9836 (diff) | |
parent | 784e2d76007f90d69341b95967160c4fb7829299 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
stop_machine: fix up ftrace.c
stop_machine: Wean existing callers off stop_machine_run()
stop_machine(): stop_machine_run() changed to use cpu mask
Hotplug CPU: don't check cpu_online after take_cpu_down
Simplify stop_machine
stop_machine: add ALL_CPUS option
module: fix build warning with !CONFIG_KALLSYMS
Diffstat (limited to 'arch')
-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 | ||