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:22:52 +0000 (20:22 +0200)
commitfed6c76f4965b47c159504496f460857e8c802ec
tree52f6a99ea016b30e802c05dd4543bf9ff95bb392
parent1b66e95c821de3928b7cc33d5effaa05e1b26310
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