Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 00:44:25 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r253906 - in projects/atomic64/sys: amd64/include i386/include
Message-ID:  <201308030044.r730iPKU068334@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308030044.r730iPKU068334>