]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpu/centaur: Replace two-condition switch-case with an if statement
authorTony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Tue, 8 Sep 2020 10:57:45 +0000 (18:57 +0800)
committerBorislav Petkov <bp@suse.de>
Fri, 11 Sep 2020 08:50:01 +0000 (10:50 +0200)
commitbffadf51419f31016b61c52f328dedf4e0b17685
treec9bec0edfc5ea3f74ac6ad359d7ff490f51ab495
parent47f7deb5139cb0ec5f533095b192ccdb4dd2ae93
x86/cpu/centaur: Replace two-condition switch-case with an if statement

Use a normal if statements instead of a two-condition switch-case.

 [ bp: Massage commit message. ]

Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/1599562666-31351-2-git-send-email-TonyWWang-oc@zhaoxin.com
arch/x86/kernel/cpu/centaur.c