core pxe: Switch threads if more than one runnable.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 9 Apr 2011 09:25:51 +0000 (02:25 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Apr 2011 21:40:52 +0000 (14:40 -0700)
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
core/fs/pxe/isr.c

index 882f41f..d645de2 100644 (file)
@@ -23,6 +23,7 @@ static void pm_return(void)
     if (now != last_jiffies) {
        last_jiffies = now;
        __thread_process_timeouts();
+       __need_schedule = true; /* Switch threads if more than one runnable */
     }
 
     if (pxe_irq_pending) {