[PATCH] Fix NKPT kernel config option
Robert Millan
rmh at debian.org
Thu Sep 1 20:17:29 UTC 2011
Hi John,
Thanks for adding an NKPT kernel config option (r225194), but this
doesn't seem to work unless opt_pmap.h is included, see attached
patch.
Without this include, there's no garantee that the NKPT definition code:
#ifndef NKPT
#define NKPT 32
#endif
will use the value specified in config. Or worse, it may even use
different values for different .c files.
--
Robert Millan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nkpt.diff
Type: text/x-patch
Size: 517 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110901/429962aa/nkpt.bin
More information about the freebsd-current
mailing list