summaryrefslogtreecommitdiffstats
path: root/sys/libkern/scanc.c
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2001-08-01 00:54:00 +0000
committerbmilekic <bmilekic@FreeBSD.org>2001-08-01 00:54:00 +0000
commitcceec8d18104db04cf807557e3517e2bc2437b10 (patch)
treefa9602c0beb285a314576d66bdf34ad353843bfb /sys/libkern/scanc.c
parentdb46728f2172e9e63dbc37889c7790f445a40910 (diff)
downloadFreeBSD-src-cceec8d18104db04cf807557e3517e2bc2437b10.zip
FreeBSD-src-cceec8d18104db04cf807557e3517e2bc2437b10.tar.gz
Move CPU_ABSENT() macro to smp.h, where it belongs anyway. It will be
defined to 0 in the non-SMP case, which very much makes sense as it permits its usage in per-CPU initialization loops (for an example, check out subr_mbuf.c). Further, on a UP system, make mb_alloc always use the first per-CPU container, regardless of cpuid (i.e. remove reliability on cpuid in the UP case). Requested by: alfred
Diffstat (limited to 'sys/libkern/scanc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud