]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/cpu: Add 'table' argument to cpu_matches()
authorMark Gross <mgross@linux.intel.com>
Mon, 27 Apr 2020 19:17:15 +0000 (21:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Jun 2020 07:22:23 +0000 (09:22 +0200)
commit15cf7ca9f59ff911cd5582969377bbf8c2ecab8a
tree6b449d42b03e147cfba5f753ee0420361fd17266
parent5f8f40583aad4aa3c0fc8a9adaa9f1c988fa8e9e
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