x86/spectre: Simplify spectre_v2 command line parsing
authorKarimAllah Ahmed <[email protected]>
Thu, 1 Feb 2018 11:27:21 +0000 (11:27 +0000)
committerThomas Gleixner <[email protected]>
Fri, 2 Feb 2018 11:28:27 +0000 (12:28 +0100)
commit9005c6834c0ffdfe46afa76656bd9276cca864f6
tree6146e11c582a9ab958098a3c8f436f90f0b687ed
parent66f793099a636862a71c59d4a6ba91387b155e0c
x86/spectre: Simplify spectre_v2 command line parsing

[dwmw2: Use ARRAY_SIZE]

Signed-off-by: KarimAllah Ahmed <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/kernel/cpu/bugs.c