[PATCH 3/3] nospec: Include asm/barrier.h dependency

2018-02-16 Thread Dan Williams
The nospec.h header expects the per-architecture header file asm/barrier.h to optionally define array_index_mask_nospec(). Include that dependency to prevent inadvertent fallback to the default array_index_mask_nospec() implementation. The default implementation may not provide a full mitigation

[PATCH 3/3] nospec: Include asm/barrier.h dependency

2018-02-16 Thread Dan Williams
The nospec.h header expects the per-architecture header file asm/barrier.h to optionally define array_index_mask_nospec(). Include that dependency to prevent inadvertent fallback to the default array_index_mask_nospec() implementation. The default implementation may not provide a full mitigation