From: Tom Knot Date: Fri, 13 Apr 2018 15:18:29 +0000 (+0200) Subject: Restored macro for sched include X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=537dfd69a17710bd9619047cb715fe479bf52a9c;p=graphit%2Funipi-kernel.git Restored macro for sched include --- diff --git a/modules/unipi/src/unipi_common.h b/modules/unipi/src/unipi_common.h index 2c06b0e..c530417 100644 --- a/modules/unipi/src/unipi_common.h +++ b/modules/unipi/src/unipi_common.h @@ -47,7 +47,10 @@ * Definitions * ***************/ -#define NEURONSPI_SCHED_REQUIRED 0 // Older kernels do not require sched/types to be specifically imported +#define NEURONSPI_SCHED_REQUIRED 1 // Older kernels do not require sched/types to be specifically imported +#ifdef NEURONSPI_SCHED_REQUIRED +#include +#endif #define NEURONSPI_MAJOR_VERSIONSTRING "Development Beta Version 0.04:05:04:2018" #define NEURONSPI_MAX_DEVS 3