hw/virtio/vhost-vdpa: Inline TARGET_PAGE_ALIGN() macro
commit1dca36fb3d4f07354c9f6bc38b6e5c72fe1e9855
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 10 Jul 2023 09:49:28 +0000 (10 11:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Oct 2023 08:53:59 +0000 (4 04:53 -0400)
tree8697241e53924791f739536115deec8b82c61c9b
parent8b1a8884c6aacd9a35863d18a757be17ec7b1369
hw/virtio/vhost-vdpa: Inline TARGET_PAGE_ALIGN() macro

Use TARGET_PAGE_SIZE to calculate TARGET_PAGE_ALIGN
(see the rationale in previous commits).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230710094931.84402-4-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c