mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] kprobe whitespace cleanup
Whitespace is used to indent, this patch cleans up these sentences by kernel coding style. Signed-off-by: bibo, mao <[email protected]> Signed-off-by: Ananth N Mavinakayanahalli <[email protected]> Cc: "Luck, Tony" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
09b18203d7
commit
62c27be0dd
5 changed files with 103 additions and 103 deletions
|
|
@ -347,17 +347,17 @@ struct hlist_head __kprobes *kretprobe_inst_table_head(struct task_struct *tsk)
|
|||
*/
|
||||
void __kprobes kprobe_flush_task(struct task_struct *tk)
|
||||
{
|
||||
struct kretprobe_instance *ri;
|
||||
struct hlist_head *head;
|
||||
struct kretprobe_instance *ri;
|
||||
struct hlist_head *head;
|
||||
struct hlist_node *node, *tmp;
|
||||
unsigned long flags = 0;
|
||||
|
||||
spin_lock_irqsave(&kretprobe_lock, flags);
|
||||
head = kretprobe_inst_table_head(tk);
|
||||
hlist_for_each_entry_safe(ri, node, tmp, head, hlist) {
|
||||
if (ri->task == tk)
|
||||
recycle_rp_inst(ri);
|
||||
}
|
||||
head = kretprobe_inst_table_head(tk);
|
||||
hlist_for_each_entry_safe(ri, node, tmp, head, hlist) {
|
||||
if (ri->task == tk)
|
||||
recycle_rp_inst(ri);
|
||||
}
|
||||
spin_unlock_irqrestore(&kretprobe_lock, flags);
|
||||
}
|
||||
|
||||
|
|
@ -514,7 +514,7 @@ static int __kprobes __register_kprobe(struct kprobe *p,
|
|||
(ARCH_INACTIVE_KPROBE_COUNT + 1))
|
||||
register_page_fault_notifier(&kprobe_page_fault_nb);
|
||||
|
||||
arch_arm_kprobe(p);
|
||||
arch_arm_kprobe(p);
|
||||
|
||||
out:
|
||||
mutex_unlock(&kprobe_mutex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue