x86/bugs: Concentrate bug reporting into a separate function
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 Apr 2018 02:04:17 +0000 (22:04 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 3 May 2018 11:55:46 +0000 (13:55 +0200)
commitd1059518b4789cabe34bb4b714d07e6089c82ca1
tree0648cb1eb108de6c014099b6b9a418a43cf2aa52
parent4a28bfe3267b68e22c663ac26185aa16c9b879ef
x86/bugs: Concentrate bug reporting into a separate function

Those SysFS functions have a similar preamble, as such make common
code to handle them.

Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/bugs.c