PERFORCE change 160646 for review

Marko Zec zec at FreeBSD.org
Tue Apr 14 14:37:30 PDT 2009


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

Change 160646 by zec at zec_tpx32 on 2009/04/14 21:36:28

	Minor / random whitespace nits.

Affected files ...

.. //depot/projects/vimage/src/sys/sys/vimage.h#87 edit

Differences ...

==== //depot/projects/vimage/src/sys/sys/vimage.h#87 (text+ko) ====

@@ -30,8 +30,8 @@
  * $FreeBSD: src/sys/sys/vimage.h,v 1.14 2009/04/11 05:58:58 zec Exp $
  */
 
-#ifndef _SYS_VIMAGE_H_
-#define _SYS_VIMAGE_H_
+#ifndef	_SYS_VIMAGE_H_
+#define	_SYS_VIMAGE_H_
 
 #include <sys/lock.h>
 #include <sys/proc.h>
@@ -159,7 +159,7 @@
 #define	V_GLOBAL	0
 #define	V_NET		1
 #define	V_PROCG		2
-#define V_CPU		3
+#define	V_CPU		3
 
 #define V_MOD_vprocg		0
 #define V_MOD_vcpu		0
@@ -263,11 +263,11 @@
 
 /* Non-VIMAGE null-macros */
 #define	IS_DEFAULT_VNET(arg) 1
-#define	VNET_ASSERT(condition)
-#define	INIT_FROM_VNET(vnet, modindex, modtype, sym)
 #define	CURVNET_SET(arg)
 #define	CURVNET_SET_QUIET(arg)
 #define	CURVNET_RESTORE()
+#define	VNET_ASSERT(condition)
+#define	INIT_FROM_VNET(vnet, modindex, modtype, sym)
 #define	VNET_ITERATOR_DECL(arg)
 #define	VNET_FOREACH(arg)
 #define	VNET_LIST_RLOCK()
@@ -288,8 +288,8 @@
 #endif /* !VIMAGE */
 
 /* XXX those defines bellow should probably go into vprocg.h and vcpu.h */
-#define VPROCG(sym)		VSYM(vprocg, sym)
-#define VCPU(sym)		VSYM(vcpu, sym)
+#define	VPROCG(sym)		VSYM(vprocg, sym)
+#define	VCPU(sym)		VSYM(vcpu, sym)
 
 #define V_hostname		VPROCG(hostname)
 #ifdef VIMAGE


More information about the p4-projects mailing list