svn commit: r253906 - in projects/atomic64/sys: amd64/include i386/include

Jung-uk Kim jkim at FreeBSD.org
Sat Aug 3 00:44:26 UTC 2013


Author: jkim
Date: Sat Aug  3 00:44:25 2013
New Revision: 253906
URL: http://svnweb.freebsd.org/changeset/base/253906

Log:
  Fix white spaces.
  
  Pointed by:	bde

Modified:
  projects/atomic64/sys/amd64/include/pmap.h
  projects/atomic64/sys/i386/include/pmap.h

Modified: projects/atomic64/sys/amd64/include/pmap.h
==============================================================================
--- projects/atomic64/sys/amd64/include/pmap.h	Sat Aug  3 00:24:12 2013	(r253905)
+++ projects/atomic64/sys/amd64/include/pmap.h	Sat Aug  3 00:44:25 2013	(r253906)
@@ -187,10 +187,9 @@ pt_entry_t *vtopte(vm_offset_t);
 
 #define	pte_load_store(ptep, pte)	atomic_swap_long(ptep, pte)
 #define	pte_load_clear(ptep)		atomic_swap_long(ptep, 0)
-#define	pte_store(ptep, pte) \
-    do { \
+#define	pte_store(ptep, pte) do { \
 	*(u_long *)(ptep) = (u_long)(pte); \
-    } while (0)
+} while (0)
 #define	pte_clear(ptep)			pte_store(ptep, 0)
 
 #define	pde_store(pdep, pde)		pte_store(pdep, pde)

Modified: projects/atomic64/sys/i386/include/pmap.h
==============================================================================
--- projects/atomic64/sys/i386/include/pmap.h	Sat Aug  3 00:24:12 2013	(r253905)
+++ projects/atomic64/sys/i386/include/pmap.h	Sat Aug  3 00:44:25 2013	(r253906)
@@ -338,10 +338,9 @@ extern pt_entry_t pg_nx;
 #define	pde_cmpset(pdep, old, new)	atomic_cmpset_int(pdep, old, new)
 #define	pte_load_store(ptep, pte)	atomic_swap_int(ptep, pte)
 #define	pte_load_clear(ptep)		atomic_swap_int(ptep, 0)
-#define	pte_store(ptep, pte) \
-    do { \
+#define	pte_store(ptep, pte) do { \
 	*(u_int *)(ptep) = (u_int)(pte); \
-    } while (0)
+} while (0)
 
 #endif /* PAE */
 


More information about the svn-src-projects mailing list