Re: warning: 'inline' is not at beginning of declaration ?

2011-06-02 Thread Joshua Neal
A compile-with clause in the sys/conf/files configuration file may work for what you want, e.g. picking a random example: dev/e1000/e1000_82542.c optional em | igb \ compile-with "${NORMAL_C} -I$S/dev/e1000" - Joshua On Wed, Jun 1, 2011 at 9:54 AM, Luigi Rizzo wrote: > In an at

Re: MAXCPU preparations

2010-09-27 Thread Joshua Neal
I hit this bug at one point, and had to bump MEMSTAT_MAXCPU. It's already asking the kernel for the max number and throwing an error if it doesn't agree: if (sysctlbyname("kern.smp.maxcpus", &maxcpus, &size, NULL, 0) < 0) { [...] if (maxcpus > MEMSTAT_MAXCPU) { li