diff options
author | bibo,mao <bibo.mao@intel.com> | 2006-10-02 05:17:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:16 -0400 |
commit | 62c27be0dd8144e11bd3ed054a0fb890579925f8 (patch) | |
tree | 1884eaafd723059b903b81db513ca3bf5b06774b /kernel | |
parent | 09b18203d772db318ef92f6908c439ee5a35a4f9 (diff) |
[PATCH] kprobe whitespace cleanup
Whitespace is used to indent, this patch cleans up these sentences by
kernel coding style.
Signed-off-by: bibo, mao <bibo.mao@intel.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kprobes.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c index f66b8e681b4d..41dfda50e22a 100644 --- a/kernel/kprobes.c +++ b/kernel/kprobes.c | |||
@@ -347,17 +347,17 @@ struct hlist_head __kprobes *kretprobe_inst_table_head(struct task_struct *tsk) | |||
347 | */ | 347 | */ |
348 | void __kprobes kprobe_flush_task(struct task_struct *tk) | 348 | void __kprobes kprobe_flush_task(struct task_struct *tk) |
349 | { | 349 | { |
350 | struct kretprobe_instance *ri; | 350 | struct kretprobe_instance *ri; |
351 | struct hlist_head *head; | 351 | struct hlist_head *head; |
352 | struct hlist_node *node, *tmp; | 352 | struct hlist_node *node, *tmp; |
353 | unsigned long flags = 0; | 353 | unsigned long flags = 0; |
354 | 354 | ||
355 | spin_lock_irqsave(&kretprobe_lock, flags); | 355 | spin_lock_irqsave(&kretprobe_lock, flags); |
356 | head = kretprobe_inst_table_head(tk); | 356 | head = kretprobe_inst_table_head(tk); |
357 | hlist_for_each_entry_safe(ri, node, tmp, head, hlist) { | 357 | hlist_for_each_entry_safe(ri, node, tmp, head, hlist) { |
358 | if (ri->task == tk) | 358 | if (ri->task == tk) |
359 | recycle_rp_inst(ri); | 359 | recycle_rp_inst(ri); |
360 | } | 360 | } |
361 | spin_unlock_irqrestore(&kretprobe_lock, flags); | 361 | spin_unlock_irqrestore(&kretprobe_lock, flags); |
362 | } | 362 | } |
363 | 363 | ||
@@ -514,7 +514,7 @@ static int __kprobes __register_kprobe(struct kprobe *p, | |||
514 | (ARCH_INACTIVE_KPROBE_COUNT + 1)) | 514 | (ARCH_INACTIVE_KPROBE_COUNT + 1)) |
515 | register_page_fault_notifier(&kprobe_page_fault_nb); | 515 | register_page_fault_notifier(&kprobe_page_fault_nb); |
516 | 516 | ||
517 | arch_arm_kprobe(p); | 517 | arch_arm_kprobe(p); |
518 | 518 | ||
519 | out: | 519 | out: |
520 | mutex_unlock(&kprobe_mutex); | 520 | mutex_unlock(&kprobe_mutex); |