mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 20:48:49 +08:00
bce21a2b48
It's not helpful if every driver has to cook its own. Generalize xenbus'es INVALID_GRANT_HANDLE and pcifront's INVALID_GRANT_REF (which shouldn't have expanded to zero to begin with). Use the constants in p2m.c and gntdev.c right away, and update field types where necessary so they would match with the constants' types (albeit without touching struct ioctl_gntdev_grant_ref's ref field, as that's part of the public interface of the kernel and would require introducing a dependency on Xen's grant_table.h public header). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/db7c38a5-0d75-d5d1-19de-e5fe9f0b9c48@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> |
||
---|---|---|
.. | ||
arm | ||
interface | ||
acpi.h | ||
balloon.h | ||
events.h | ||
features.h | ||
grant_table.h | ||
hvc-console.h | ||
hvm.h | ||
mem-reservation.h | ||
page.h | ||
platform_pci.h | ||
swiotlb-xen.h | ||
xen-front-pgdir-shbuf.h | ||
xen-ops.h | ||
xen.h | ||
xenbus_dev.h | ||
xenbus.h |