mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
460 B
Plaintext
14 lines
460 B
Plaintext
$NetBSD: patch-blktaplib_h,v 1.1 2012/01/09 14:06:34 cegger Exp $
|
|
|
|
--- blktap/lib/blktaplib.h.orig 2009-08-06 12:56:32.000000000 +0000
|
|
+++ blktap/lib/blktaplib.h
|
|
@@ -42,7 +42,7 @@
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
-#define BLK_RING_SIZE __RING_SIZE((blkif_sring_t *)0, XC_PAGE_SIZE)
|
|
+#define BLK_RING_SIZE __CONST_RING_SIZE(blkif, XC_PAGE_SIZE)
|
|
|
|
/* size of the extra VMA area to map in attached pages. */
|
|
#define BLKTAP_VMA_PAGES BLK_RING_SIZE
|