drm/linux: Add send_sig()
authorFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 9 Nov 2018 17:34:19 +0000 (18:34 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 9 Nov 2018 17:34:19 +0000 (18:34 +0100)
sys/dev/drm/include/linux/sched.h

index fd4b3a3..17034a7 100644 (file)
@@ -134,4 +134,11 @@ cond_resched(void)
        return 0;
 }
 
+static inline int
+send_sig(int sig, struct proc *p, int priv)
+{
+       ksignal(p, sig);
+       return 0;
+}
+
 #endif /* _LINUX_SCHED_H_ */