freebsd-skq/sys/ia64
Jake Burkholder f8761e53a7 Implement accessors for per-cpu variables which don't depend on the
symbols in globals.s.

	PCPU_GET(name) returns the value of the per-cpu variable
	PCPU_PTR(name) returns a pointer to the per-cpu variable
	PCPU_SET(name, val) sets the value of the per-cpu variable

In general these are not yet used, compatibility macros remain.

Unifdef SMP struct globaldata, this makes variables such as cpuid
available for UP as well.

Rebuilding modules is probably a good idea, but I believe old
modules will still work, as most of the old infrastructure
remains.
2001-01-06 19:55:42 +00:00
..
conf Sync with i386/GENERIC rev 1.294 removing "COMPAT_OLDPCI". 2000-12-13 07:34:47 +00:00
ia64 Don't include <stddef.h> for offsetof() - its also defined in <sys/types.h> 2000-12-30 13:07:58 +00:00
include Implement accessors for per-cpu variables which don't depend on the 2001-01-06 19:55:42 +00:00
isa