diff options
author | Jan Beulich <[email protected]> | 2021-03-10 11:45:26 +0100 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2021-03-10 16:39:29 -0600 |
commit | bce21a2b48ede7cbcab92db18bc956daf1d5c246 (patch) | |
tree | 08be73916964bc77f11d9860b30041b797fa1ce3 /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 36caa3fedf06d377bd08bc91b50c93fb9022f5ec (diff) |
Xen/gnttab: introduce common INVALID_GRANT_{HANDLE,REF}
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 <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions