OSDN Git Service

PCI: hv: Move hypercall related definitions into tlfs header
authorBoqun Feng <boqun.feng@gmail.com>
Mon, 10 Feb 2020 03:39:51 +0000 (11:39 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 9 Mar 2020 14:50:39 +0000 (14:50 +0000)
commitb00f80fcfaa098f987dde99585e73e8ed7edae51
tree0822235acc7a613a489bd71280c644ac4660797c
parent067fb6c97e7e6a503c058b1f7509bfa709d05ed4
PCI: hv: Move hypercall related definitions into tlfs header

Currently HVCALL_RETARGET_INTERRUPT and HV_PARTITION_ID_SELF are defined
in pci-hyperv.c. However, similar to other hypercall related
definitions, it makes more sense to put them in the tlfs header file.

Besides, these definitions are arch-dependent, so for the support of
virtual PCI on non-x86 archs in the future, move them into arch-specific
tlfs header file.

Signed-off-by: Boqun Feng (Microsoft) <boqun.feng@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Andrew Murray <amurray@thegoodpenguin.co.uk>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
arch/x86/include/asm/hyperv-tlfs.h
drivers/pci/controller/pci-hyperv.c