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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jun 2020 18:24:57 +0000 (20:24 +0200)
commitdab0161b8a0bc6a86319412e39b221670ca758ca
treeb6a6852cc20bdcb4d9786ba130c9e2cf5df7c5ed
parent749ec6b48a9a41f95154cd5aa61053aaeb7c7aff
x86/cpu: Add 'table' argument to cpu_matches()

commit 93920f61c2ad7edb01e63323832585796af75fc9 upstream

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