]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbdfcfc5c69463f596f38a12dddaa35446d42df0b
tree0822235acc7a613a489bd71280c644ac4660797c
parenta535fb383d2e52951fe22c49583f2faf855bf5b6
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