Skip to content

Commit

Permalink
Merge branch 'tip/perf/urgent' of git://git.kernel.org/pub/scm/linux/…
Browse files Browse the repository at this point in the history
…kernel/git/rostedt/linux-2.6-trace into perf/urgent
  • Loading branch information
Ingo Molnar committed Jun 13, 2011
2 parents 5f12713 + db5e7ec commit afbee42
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kernel/trace/trace_printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,10 @@ static const char **find_next(void *v, loff_t *pos)
const char **fmt = v;
int start_index;

if (!fmt)
fmt = __start___trace_bprintk_fmt + *pos;

start_index = __stop___trace_bprintk_fmt - __start___trace_bprintk_fmt;

if (*pos < start_index)
return fmt;
return __start___trace_bprintk_fmt + *pos;

return find_next_mod_format(start_index, v, fmt, pos);
}
Expand Down

0 comments on commit afbee42

Please sign in to comment.