diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 6292121ed3..b416907b65 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -3437,7 +3437,7 @@ arc_init(void) /* Start out with 1/8 of all memory */ arc_c = physmem * PAGESIZE / 8; -#if defined(__i386) +#if defined(_KERNEL) && defined(__i386) /* * On architectures where the physical memory can be larger * than the addressable space (intel in 32-bit mode), we may