Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[pandora-kernel.git] / arch / m68knommu / platform / coldfire / entry.S
index c8eb0e0..5e92bed 100644 (file)
@@ -112,7 +112,7 @@ ret_from_exception:
        andl    #-THREAD_SIZE,%d1       /* at base of kernel stack */
        movel   %d1,%a0
        movel   %a0@(TI_FLAGS),%d1      /* get thread_info->flags */
-       andl    #_TIF_NEED_RESCHED,%d1
+       andl    #(1<<TIF_NEED_RESCHED),%d1
        jeq     Lkernel_return
 
        movel   %a0@(TI_PREEMPTCOUNT),%d1
@@ -136,7 +136,7 @@ Luser_return:
        andl    #-THREAD_SIZE,%d1       /* at base of kernel stack */
        movel   %d1,%a0
        movel   %a0@(TI_FLAGS),%d1      /* get thread_info->flags */
-       andl    #_TIF_WORK_MASK,%d1
+       andl    #0xefff,%d1
        jne     Lwork_to_do             /* still work to do */
 
 Lreturn: