Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.101 /kernel/sched.c

Filename:/kernel/sched.c
Lines Added:1
Lines Deleted:3
Also changed in: (Previous) 2.1.100  2.1.92  2.1.91  2.1.90  2.1.86  2.1.79 
(Following) 2.1.103  2.1.104  2.1.106  2.1.107  2.1.109  2.1.110 

Location
[  2.1.101
  [  kernel
     o  sched.c

Patch

diff -u --recursive --new-file v2.1.100/linux/kernel/sched.c linux/kernel/sched.c
--- v2.1.100/linux/kernel/sched.c   Thu May  7 22:51:55 1998
+++ linux/kernel/sched.c   Fri May  8 00:31:10 1998
@@ -399,9 +399,7 @@
    need_resched = 0;
    prev = current;
    this_cpu = smp_processor_id();
-   if (local_irq_count[this_cpu])
-      goto scheduling_in_interrupt;
-   if (local_bh_count[this_cpu])
+   if (in_interrupt())
       goto scheduling_in_interrupt;
    release_kernel_lock(prev, this_cpu, lock_depth);
    if (bh_active & bh_mask)


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.