diff options
author | Greg Kurz <groug@kaod.org> | 2019-09-27 13:53:55 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2019-10-22 16:29:02 +1100 |
commit | 8db29ea2391cc6f5b73cc9c04b2dee4409b9fc05 (patch) | |
tree | 2ab71ed7ee4181ec6a7eb6afee2c1bb9bb6a36c5 /Documentation/kernel-hacking | |
parent | 8a4e7597ba1e41030189b73cd7261f4383588d1d (diff) | |
download | linux-8db29ea2391cc6f5b73cc9c04b2dee4409b9fc05.tar.gz linux-8db29ea2391cc6f5b73cc9c04b2dee4409b9fc05.tar.bz2 linux-8db29ea2391cc6f5b73cc9c04b2dee4409b9fc05.zip |
KVM: PPC: Book3S HV: XIVE: Compute the VP id in a common helper
Reduce code duplication by consolidating the checking of vCPU ids and VP
ids to a common helper used by both legacy and native XIVE KVM devices.
And explain the magic with a comment.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'Documentation/kernel-hacking')
0 files changed, 0 insertions, 0 deletions