Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146191
b: refs/heads/master
c: f3c4ae2
h: refs/heads/master
i:
  146189: 5a075da
  146187: 3e26999
  146183: 46a0106
  146175: 16d1fe1
v: v3
  • Loading branch information
Zhaolei authored and Frederic Weisbecker committed Jun 1, 2009
1 parent 6f38986 commit b357649
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: b8867164f05791a6b5363bd51c1274e03600886e
refs/heads/master: f3c4ae26e93d354152196b62797ba86ad86dd0cc
7 changes: 0 additions & 7 deletions trunk/kernel/trace/trace_workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,16 +185,9 @@ static void *workqueue_stat_next(void *prev, int idx)
static int workqueue_stat_show(struct seq_file *s, void *p)
{
struct cpu_workqueue_stats *cws = p;
unsigned long flags;
int cpu = cws->cpu;
struct pid *pid;
struct task_struct *tsk;

spin_lock_irqsave(&workqueue_cpu_stat(cpu)->lock, flags);
if (&cws->list == workqueue_cpu_stat(cpu)->list.next)
seq_printf(s, "\n");
spin_unlock_irqrestore(&workqueue_cpu_stat(cpu)->lock, flags);

pid = find_get_pid(cws->pid);
if (pid) {
tsk = get_pid_task(pid, PIDTYPE_PID);
Expand Down

0 comments on commit b357649

Please sign in to comment.