kasan: open-code kasan_unpoison_slab
[linux-2.6-microblaze.git] / include / linux / tracehook.h
index 54b9252..3e80c4b 100644 (file)
@@ -206,12 +206,10 @@ static inline void tracehook_notify_resume(struct pt_regs *regs)
  */
 static inline void tracehook_notify_signal(void)
 {
-#if defined(TIF_NOTIFY_SIGNAL)
        clear_thread_flag(TIF_NOTIFY_SIGNAL);
        smp_mb__after_atomic();
        if (current->task_works)
                task_work_run();
-#endif
 }
 
 /*
@@ -219,11 +217,9 @@ static inline void tracehook_notify_signal(void)
  */
 static inline void set_notify_signal(struct task_struct *task)
 {
-#if defined(TIF_NOTIFY_SIGNAL)
        if (!test_and_set_tsk_thread_flag(task, TIF_NOTIFY_SIGNAL) &&
            !wake_up_state(task, TASK_INTERRUPTIBLE))
                kick_process(task);
-#endif
 }
 
 #endif /* <linux/tracehook.h> */