PERFORCE change 58502 for review

John Baldwin jhb at FreeBSD.org
Thu Jul 29 15:40:57 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=58502

Change 58502 by jhb at jhb_blue on 2004/07/29 22:40:40

	Fix compile with evil nested include.  Fixing all consumers of
	machine/cpufunc.h isn't very feasible since sys/system.h includes
	it directly.

Affected files ...

.. //depot/projects/smpng/sys/i386/include/cpufunc.h#29 edit

Differences ...

==== //depot/projects/smpng/sys/i386/include/cpufunc.h#29 (text+ko) ====

@@ -38,6 +38,8 @@
 #ifndef _MACHINE_CPUFUNC_H_
 #define	_MACHINE_CPUFUNC_H_
 
+#include <machine/psl.h>
+
 struct region_descriptor;
 
 #define readb(va)	(*(volatile u_int8_t *) (va))


More information about the p4-projects mailing list