git.graph-it.com
/
graphit
/
unipi-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a243f1a
)
Restored macro for sched include
author
Tom Knot
<tomasknot@gmail.com>
Fri, 13 Apr 2018 15:18:29 +0000
(17:18 +0200)
committer
Tom Knot
<tomasknot@gmail.com>
Fri, 13 Apr 2018 15:18:29 +0000
(17:18 +0200)
modules/unipi/src/unipi_common.h
patch
|
blob
|
history
diff --git
a/modules/unipi/src/unipi_common.h
b/modules/unipi/src/unipi_common.h
index 2c06b0e6d264fa9c1426d6c5387c6a60bde6cc93..c530417f4917fd3279fdc73a48e2ce6b20bfabee 100644
(file)
--- 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 <uapi/linux/sched/types.h>
+#endif
#define NEURONSPI_MAJOR_VERSIONSTRING "Development Beta Version 0.04:05:04:2018"
#define NEURONSPI_MAX_DEVS 3