diff options
author | Matthew Macy <[email protected]> | 2019-09-05 09:34:54 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-05 09:34:54 -0700 |
commit | 006e9a40882468be68f276c946bae812b74ac35c (patch) | |
tree | a4137660779e71e9da7e0a4dfb18c15951eb01f0 /module/spl | |
parent | d02186ee2b0570069cfbb0d08d5c52752648f388 (diff) |
OpenZFS restructuring - move platform specific headers
Move platform specific Linux headers under include/os/linux/.
Update the build system accordingly to detect the platform.
This lays some of the initial groundwork to supporting building
for other platforms.
As part of this change it was necessary to create both a user
and kernel space sys/simd.h header which can be included in
either context. No functional change, the source has been
refactored and the relevant #include's updated.
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Signed-off-by: Matthew Macy <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #9198
Diffstat (limited to 'module/spl')
-rw-r--r-- | module/spl/spl-taskq.c | 2 | ||||
-rw-r--r-- | module/spl/spl-thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/module/spl/spl-taskq.c b/module/spl/spl-taskq.c index 69d591ff7..90e1d0a4d 100644 --- a/module/spl/spl-taskq.c +++ b/module/spl/spl-taskq.c @@ -28,7 +28,7 @@ #include <sys/taskq.h> #include <sys/kmem.h> #include <sys/tsd.h> -#include <linux/simd.h> +#include <sys/simd.h> int spl_taskq_thread_bind = 0; module_param(spl_taskq_thread_bind, int, 0644); diff --git a/module/spl/spl-thread.c b/module/spl/spl-thread.c index 07e3a1bff..29de9252a 100644 --- a/module/spl/spl-thread.c +++ b/module/spl/spl-thread.c @@ -27,7 +27,7 @@ #include <sys/thread.h> #include <sys/kmem.h> #include <sys/tsd.h> -#include <linux/simd.h> +#include <sys/simd.h> /* * Thread interfaces |