aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/pvscsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/pvscsi.c')
-rw-r--r--src/hw/pvscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/pvscsi.c b/src/hw/pvscsi.c
index e0ea33cd..9d7d68d8 100644
--- a/src/hw/pvscsi.c
+++ b/src/hw/pvscsi.c
@@ -167,7 +167,7 @@ pvscsi_init_rings(void *iobase, struct pvscsi_ring_dsc_s **ring_dsc)
{
struct PVSCSICmdDescSetupRings cmd = {0,};
- struct pvscsi_ring_dsc_s *dsc = memalign_high(PAGE_SIZE, sizeof(*dsc));
+ struct pvscsi_ring_dsc_s *dsc = malloc_high(sizeof(*dsc));
if (!dsc) {
warn_noalloc();
return;