summaryrefslogtreecommitdiffstats
path: root/include/linux/nospec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nospec.h')
-rw-r--r--include/linux/nospec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nospec.h b/include/linux/nospec.h
index 172a19dc35ab..e791ebc65c9c 100644
--- a/include/linux/nospec.h
+++ b/include/linux/nospec.h
@@ -5,6 +5,7 @@
#ifndef _LINUX_NOSPEC_H
#define _LINUX_NOSPEC_H
+#include <asm/barrier.h>
/**
* array_index_mask_nospec() - generate a ~0 mask when index < size, 0 otherwise