x86/cpufeatures: Carve out CQM features retrieval
authorBorislav Petkov <bp@suse.de>
Wed, 19 Jun 2019 15:24:34 +0000 (17:24 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 20 Jun 2019 09:23:29 +0000 (11:23 +0200)
commit45fc56e629caa451467e7664fbd4c797c434a6c4
tree60d76e0708e610c6e483b009714929215166efc4
parent1b7aebf0487613033aff26420e32fa2076d52846
x86/cpufeatures: Carve out CQM features retrieval

... into a separate function for better readability. Split out from a
patch from Fenghua Yu <fenghua.yu@intel.com> to keep the mechanical,
sole code movement separate for easy review.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: x86@kernel.org
arch/x86/kernel/cpu/common.c