Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158326
b: refs/heads/master
c: 6f80bd9
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Jul 18, 2009
1 parent 58a1d81 commit 08eece8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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: e4aafea2d4bde8b44d6500c4ee7195bbfc51269e
refs/heads/master: 6f80bd985fe242c2e6a8b6209ed20b0495d3d63b
9 changes: 2 additions & 7 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -2285,17 +2285,12 @@ static inline int need_resched(void)
* cond_resched_softirq() will enable bhs before scheduling.
*/
extern int _cond_resched(void);
#ifdef CONFIG_PREEMPT_BKL
static inline int cond_resched(void)
{
return 0;
}
#else

static inline int cond_resched(void)
{
return _cond_resched();
}
#endif

extern int cond_resched_lock(spinlock_t * lock);
extern int cond_resched_softirq(void);
static inline int cond_resched_bkl(void)
Expand Down

0 comments on commit 08eece8

Please sign in to comment.