diff options
| author | Dan Williams <dan.j.williams@intel.com> | 2018-02-16 13:20:54 -0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-02 16:45:47 +0200 |
| commit | 4e97a07b7232fe63b57c98dd83343282bcb72638 (patch) | |
| tree | 65c066bb322ae63528dcc35e074514a2e9a985bd /include/linux/auto_dev-ioctl.h | |
| parent | f17ed0d66e148b449789535dc86224981be550f8 (diff) | |
nospec: Include <asm/barrier.h> dependency
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
on architectures that perform data value speculation.
Change-Id: Ib3bb49179541ca4f187f7ec6b91603a58db358f7
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arch@vger.kernel.org
Link: http://lkml.kernel.org/r/151881605404.17395.1341935530792574707.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/auto_dev-ioctl.h')
0 files changed, 0 insertions, 0 deletions
