HomeFreeBSD

MFC r286223 (by smh): Fix KSTACK_PAGES check in ZFS module

Description

MFC r286223 (by smh): Fix KSTACK_PAGES check in ZFS module

The check introduced by r285946 failed to add the dependency on
opt_kstack_pages.h which meant the default value for the platform instead
of the customised options KSTACK_PAGES=X was being tested.

Also wrap in #ifdef FreeBSD for portability.

Details

Provenance
mavAuthored on
Parents
rS297078: MFC r274304 (by delphij): MFV r274272 and diff reduction with upstream.
Branches
Unknown
Tags
Unknown