x86/spectre: Simplify spectre_v2 command line parsing
authorKarimAllah Ahmed <karahmed@amazon.de>
Thu, 1 Feb 2018 11:27:21 +0000 (11:27 +0000)
committerThomas Gleixner <tglx@linutronix.de>
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 <karahmed@amazon.de>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: peterz@infradead.org
Cc: bp@alien8.de
Link: https://lkml.kernel.org/r/1517484441-1420-3-git-send-email-dwmw@amazon.co.uk
arch/x86/kernel/cpu/bugs.c