nvme: only include x86intrin.h for x86 platforms
The actual uses of intrinsics are already guarded by feature-specific ifdefs in nvme_pcie_copy_command(), but the header itself should also only be included when it will actually be needed. Change-Id: Ife65d6432b8dfd9d9db80fe4e385ab76491874c0 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
ba74eaf49f
commit
b55d837e7b
@ -46,7 +46,10 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#include <x86intrin.h>
|
||||
#endif
|
||||
|
||||
#include <sys/user.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user