aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/atom/punit_atom_debug.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2018-02-05 14:16:06 +0000
committerIngo Molnar <[email protected]>2018-02-15 00:15:51 +0000
commit8fa80c503b484ddc1abbd10c7cb2ab81f3824a50 (patch)
treeb5b1d8d3cfbb754ca59916900ba1ce50d993a8a2 /arch/x86/platform/atom/punit_atom_debug.c
parentx86/speculation: Fix up array_index_nospec_mask() asm constraint (diff)
downloadkernel-8fa80c503b484ddc1abbd10c7cb2ab81f3824a50.tar.gz
kernel-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 <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Cc: Dan Williams <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/platform/atom/punit_atom_debug.c')
0 files changed, 0 insertions, 0 deletions