Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79becfb7 authored by Amit Pundir's avatar Amit Pundir
Browse files

kernel: kcov: include missing header for ‘struct task_struct’



Include linux/sched.h to fix "dereferencing pointer to incomplete type
‘struct task_struct’" build error for ARCH=x86_64.

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 90aeadf8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/kcov.h>
#include <linux/sched.h>

/*
 * kcov descriptor (one per opened debugfs file).