]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - arch/arm/kernel/signal.c
arm-preempt-lazy-support.patch
[zynq/linux.git] / arch / arm / kernel / signal.c
index 023ac905e4c38c9858e5c644a374c343a0be334b..7bf363c40f0b2850fd865a6d92aa044913829040 100644 (file)
@@ -574,7 +574,8 @@ asmlinkage int
 do_work_pending(struct pt_regs *regs, unsigned int thread_flags, int syscall)
 {
        do {
-               if (likely(thread_flags & _TIF_NEED_RESCHED)) {
+               if (likely(thread_flags & (_TIF_NEED_RESCHED |
+                                          _TIF_NEED_RESCHED_LAZY))) {
                        schedule();
                } else {
                        if (unlikely(!user_mode(regs)))