Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100521
b: refs/heads/master
c: afc2abc
h: refs/heads/master
i:
  100519: db2455d
v: v3
  • Loading branch information
Ingo Molnar authored and Thomas Gleixner committed May 23, 2008
1 parent 3d0ce4e commit 7fefc23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 93dcc6ea096c51cc30ad0f6647ed05fead2439bf
refs/heads/master: afc2abc0ae4265730a0fc48618012193a09a1d10
11 changes: 5 additions & 6 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,12 +1155,12 @@ lat_print_generic(struct trace_seq *s, struct trace_entry *entry, int cpu)

hardirq = entry->flags & TRACE_FLAG_HARDIRQ;
softirq = entry->flags & TRACE_FLAG_SOFTIRQ;
if (hardirq && softirq)
if (hardirq && softirq) {
trace_seq_putc(s, 'H');
else {
if (hardirq)
} else {
if (hardirq) {
trace_seq_putc(s, 'h');
else {
} else {
if (softirq)
trace_seq_putc(s, 's');
else
Expand Down Expand Up @@ -2177,8 +2177,7 @@ tracing_poll_pipe(struct file *filp, poll_table *poll_table)
* Always select as readable when in blocking mode
*/
return POLLIN | POLLRDNORM;
}
else {
} else {
if (!trace_empty(iter))
return POLLIN | POLLRDNORM;
poll_wait(filp, &trace_wait, poll_table);
Expand Down

0 comments on commit 7fefc23

Please sign in to comment.