Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155734
b: refs/heads/master
c: 61f3826
h: refs/heads/master
v: v3
  • Loading branch information
Bruno Premont authored and Thomas Gleixner committed Jul 22, 2009
1 parent 9411408 commit 4ecf0bf
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 81cbf6d0555d77b2a4235c03f24167e2d792ccf5
refs/heads/master: 61f3826133dc07142935fb5712fc738e19eb5575
4 changes: 2 additions & 2 deletions trunk/fs/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ void pipe_double_lock(struct pipe_inode_info *pipe1,
pipe_lock_nested(pipe1, I_MUTEX_PARENT);
pipe_lock_nested(pipe2, I_MUTEX_CHILD);
} else {
pipe_lock_nested(pipe2, I_MUTEX_PARENT);
pipe_lock_nested(pipe1, I_MUTEX_CHILD);
pipe_lock_nested(pipe2, I_MUTEX_CHILD);
pipe_lock_nested(pipe1, I_MUTEX_PARENT);
}
}

Expand Down
5 changes: 5 additions & 0 deletions trunk/kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ static int irq_wait_for_interrupt(struct irqaction *action)
return -1;
}

#ifdef CONFIG_SMP
/*
* Check whether we need to change the affinity of the interrupt thread.
*/
Expand Down Expand Up @@ -478,6 +479,10 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action)
set_cpus_allowed_ptr(current, mask);
free_cpumask_var(mask);
}
#else
static inline void
irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { }
#endif

/*
* Interrupt handler thread
Expand Down

0 comments on commit 4ecf0bf

Please sign in to comment.