aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2022-01-31 15:01:07 -0800
committerBorislav Petkov <[email protected]>2022-02-01 12:56:23 +0100
commit0dcab41d3487acadf64d0667398e032341bd9918 (patch)
tree250060544457a08bb29c2953523ac31c96dba9cd /net/lapb/lapb_in.c
parent7f99cb5e60392fc3494c610776e733b68784280c (diff)
x86/cpu: Merge Intel and AMD ppin_init() functions
The code to decide whether a system supports the PPIN (Protected Processor Inventory Number) MSR was cloned from the Intel implementation. Apart from the X86_FEATURE bit and the MSR numbers it is identical. Merge the two functions into common x86 code, but use x86_match_cpu() instead of the switch (c->x86_model) that was used by the old Intel code. No functional change. Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions