x86/spectre: Simplify spectre_v2 command line parsing
authorKarimAllah Ahmed <karahmed@amazon.de>
Thu, 1 Feb 2018 11:27:21 +0000 (11:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Feb 2018 19:12:25 +0000 (11:12 -0800)
commitebaf2271a024a7000dc83e061349f7bbf2b44281
tree82a42d9c616487fa4974c9ef3f335d569bbaa5f6
parent838dbae0acd06da5fb0d0173dfddc72ca5650eb0
x86/spectre: Simplify spectre_v2 command line parsing

commit 9005c6834c0ffdfe46afa76656bd9276cca864f6

[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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/bugs.c