Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245449
b: refs/heads/master
c: 8ab2b7e
h: refs/heads/master
i:
  245447: 7526f3d
v: v3
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Apr 30, 2011
1 parent 81b17f4 commit 23c70c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0778d9ad33898faab7bf6316108b471790376e35
refs/heads/master: 8ab2b7efd3e2ccf2c2dda3206b8171ecdbd0af40
4 changes: 0 additions & 4 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2707,7 +2707,6 @@ static int ftrace_process_locs(struct module *mod,
{
unsigned long *p;
unsigned long addr;
unsigned long flags;

mutex_lock(&ftrace_lock);
p = start;
Expand All @@ -2724,10 +2723,7 @@ static int ftrace_process_locs(struct module *mod,
ftrace_record_ip(addr);
}

/* disable interrupts to prevent kstop machine */
local_irq_save(flags);
ftrace_update_code(mod);
local_irq_restore(flags);
mutex_unlock(&ftrace_lock);

return 0;
Expand Down

0 comments on commit 23c70c0

Please sign in to comment.