]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ptp: Reorganize ptp_kvm.c to make it arch-independent
authorJianyong Wu <jianyong.wu@arm.com>
Wed, 9 Dec 2020 06:09:26 +0000 (14:09 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 7 Apr 2021 15:33:07 +0000 (16:33 +0100)
commita8cf291bdac5d415eadb55e79df1fca8c3f0dfef
treebedcf33fa4a90635e0d34c3becd2a701cfb4fb00
parent923961a7ff2e94d3d824d9ea7047178a5a123245
ptp: Reorganize ptp_kvm.c to make it arch-independent

Currently, the ptp_kvm module contains a lot of x86-specific code.
Let's move this code into a new arch-specific file in the same directory,
and rename the arch-independent file to ptp_kvm_common.c.

Acked-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201209060932.212364-4-jianyong.wu@arm.com
drivers/ptp/Makefile
drivers/ptp/ptp_kvm.c [deleted file]
drivers/ptp/ptp_kvm_common.c [new file with mode: 0644]
drivers/ptp/ptp_kvm_x86.c [new file with mode: 0644]
include/linux/ptp_kvm.h [new file with mode: 0644]