mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-23 16:08:41 -07:00
Replace the global variables with inlined helper functions. getpagesize() is very likely annotated with a "const" function attribute (at least with glibc), and thus optimization should apply even better. This avoids the need for a constructor initialization too. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220323155743.1585078-12-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| pvrdma.h | ||
| pvrdma_cmd.c | ||
| pvrdma_dev_ring.c | ||
| pvrdma_dev_ring.h | ||
| pvrdma_main.c | ||
| pvrdma_qp_ops.c | ||
| pvrdma_qp_ops.h | ||
| trace-events | ||
| trace.h | ||