x86/cpu: Add 'table' argument to cpu_matches()
authorMark Gross <mgross@linux.intel.com>
Thu, 16 Apr 2020 15:32:42 +0000 (17:32 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 20 Apr 2020 10:19:21 +0000 (12:19 +0200)
commit93920f61c2ad7edb01e63323832585796af75fc9
tree27d2d5bea25a03d9fccd4488fe43019a51febb76
parente9d7144597b10ff13ff2264c059f7d4a7fbc89ac
x86/cpu: Add 'table' argument to cpu_matches()

To make cpu_matches() reusable for other matching tables, have it take a
pointer to a x86_cpu_id table as an argument.

 [ bp: Flip arguments order. ]

Signed-off-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
arch/x86/kernel/cpu/common.c