diff --git a/lib/libzpool/include/sys/zfs_context.h b/lib/libzpool/include/sys/zfs_context.h index ad5f2f8de1..f7999215a6 100644 --- a/lib/libzpool/include/sys/zfs_context.h +++ b/lib/libzpool/include/sys/zfs_context.h @@ -449,6 +449,8 @@ extern void delay(clock_t ticks); #define kcred NULL #define CRED() NULL +#define ptob(x) ((x) * PAGESIZE) + extern uint64_t physmem; extern int highbit(ulong_t i);