Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116592
b: refs/heads/master
c: 00fd61a
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Oct 14, 2008
1 parent ec55826 commit 70b17fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 98a983aad2e5b3dc83a8a761675445cdd8f3e6bd
refs/heads/master: 00fd61aee10533e003f2f00ab7163207660a4051
4 changes: 2 additions & 2 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void ftrace_release(void *start, unsigned long size)
unsigned long e = s + size;
int i;

if (!start)
if (ftrace_disabled || !start)
return;

/* No interrupt should call this */
Expand Down Expand Up @@ -1567,7 +1567,7 @@ static int ftrace_convert_nops(unsigned long *start,

void ftrace_init_module(unsigned long *start, unsigned long *end)
{
if (start == end)
if (ftrace_disabled || start == end)
return;
ftrace_convert_nops(start, end);
}
Expand Down

0 comments on commit 70b17fb

Please sign in to comment.