Whamcloud - gitweb
- missed patches from suse-2.4.21-2 series added
[fs/lustre-release.git] / lustre / kernel_patches / patches / resched-2.4.19-pre1.patch
1 Index: linux-2.4.19-pre1/include/linux/sched.h
2 ===================================================================
3 --- linux-2.4.19-pre1.orig/include/linux/sched.h        2003-11-21 04:05:05.000000000 +0300
4 +++ linux-2.4.19-pre1/include/linux/sched.h     2003-11-21 04:10:29.000000000 +0300
5 @@ -927,6 +927,11 @@
6         return res;
7  }
8  
9 +static inline int need_resched(void)
10 +{
11 +               return (unlikely(current->need_resched));
12 +}
13 +
14  #endif /* __KERNEL__ */
15  
16  #endif