aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorNeeraj Upadhyay <[email protected]>2025-07-09 03:32:12 +0000
committerSean Christopherson <[email protected]>2025-07-10 16:44:38 +0000
commite2fa7905b293750ee75573eeee3e54575ded8217 (patch)
treec046e0ed77252a476abe80e4b9e4c67e72090a18 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentKVM: x86: Rename VEC_POS/REG_POS macro usages (diff)
downloadkernel-e2fa7905b293750ee75573eeee3e54575ded8217.tar.gz
kernel-e2fa7905b293750ee75573eeee3e54575ded8217.zip
KVM: x86: Change lapic regs base address to void pointer
Change APIC base address from "char *" to "void *" in KVM lapic's set/get helper functions. Pointer arithmetic for "void *" and "char *" operate identically. With "void *" there is less of a chance of doing the wrong thing, e.g. neglecting to cast and reading a byte instead of the desired APIC register size. No functional change intended. Signed-off-by: Neeraj Upadhyay <[email protected]> Acked-by: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions