summaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-02-05 14:16:06 +0000
committerIngo Molnar <mingo@kernel.org>2018-02-15 01:15:51 +0100
commit8fa80c503b484ddc1abbd10c7cb2ab81f3824a50 (patch)
treeb5b1d8d3cfbb754ca59916900ba1ce50d993a8a2 /arch/x86/ia32
parentbe3233fbfcb8f5acb6e3bcd0895c3ef9e100d470 (diff)
downloadlinux-stable-8fa80c503b484ddc1abbd10c7cb2ab81f3824a50.tar.gz
linux-stable-8fa80c503b484ddc1abbd10c7cb2ab81f3824a50.tar.bz2
linux-stable-8fa80c503b484ddc1abbd10c7cb2ab81f3824a50.zip
nospec: Move array_index_nospec() parameter checking into separate macro
For architectures providing their own implementation of array_index_mask_nospec() in asm/barrier.h, attempting to use WARN_ONCE() to complain about out-of-range parameters using WARN_ON() results in a mess of mutually-dependent include files. Rather than unpick the dependencies, simply have the core code in nospec.h perform the checking for us. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1517840166-15399-1-git-send-email-will.deacon@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/ia32')
0 files changed, 0 insertions, 0 deletions