[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN][POWERPC] Whitespace.



# HG changeset patch
# User hollisb@localhost
# Node ID 2b8660a8a9bc402a21c6130c05e73f6ce2fb9a38
# Parent  e99a195f2112220352f72c3535cc19356102d979
[XEN][POWERPC] Whitespace.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/powerpc64/ppc970.c |    8 ++++----
 xen/include/asm-powerpc/cache.h     |   16 ++++++++--------
 xen/include/asm-powerpc/page.h      |   18 +++++++++---------
 3 files changed, 21 insertions(+), 21 deletions(-)

diff -r e99a195f2112 -r 2b8660a8a9bc xen/arch/powerpc/powerpc64/ppc970.c
--- a/xen/arch/powerpc/powerpc64/ppc970.c       Thu Sep 14 11:13:54 2006 -0500
+++ b/xen/arch/powerpc/powerpc64/ppc970.c       Mon Sep 18 13:21:39 2006 -0500
@@ -35,11 +35,11 @@
 #undef SERIALIZE
 
 struct cpu_caches cpu_caches = {
-       .dline_size = 0x80,
-       .log_dline_size = 7,
+    .dline_size = 0x80,
+    .log_dline_size = 7,
     .dlines_per_page = PAGE_SIZE >> 7,
-       .iline_size = 0x80,
-       .log_iline_size = 7,
+    .iline_size = 0x80,
+    .log_iline_size = 7,
     .ilines_per_page = PAGE_SIZE >> 7,
 };
 
diff -r e99a195f2112 -r 2b8660a8a9bc xen/include/asm-powerpc/cache.h
--- a/xen/include/asm-powerpc/cache.h   Thu Sep 14 11:13:54 2006 -0500
+++ b/xen/include/asm-powerpc/cache.h   Mon Sep 18 13:21:39 2006 -0500
@@ -60,14 +60,14 @@ static __inline__ void synchronize_cache
 #define __read_mostly
 
 struct cpu_caches {
-       u32     dsize;                  /* L1 d-cache size */
-       u32     dline_size;             /* L1 d-cache line size */
-       u32     log_dline_size;
-       u32     dlines_per_page;
-       u32     isize;                  /* L1 i-cache size */
-       u32     iline_size;             /* L1 i-cache line size */
-       u32     log_iline_size;
-       u32     ilines_per_page;
+    u32 dsize;          /* L1 d-cache size */
+    u32 dline_size;     /* L1 d-cache line size */
+    u32 log_dline_size;
+    u32 dlines_per_page;
+    u32 isize;          /* L1 i-cache size */
+    u32 iline_size;     /* L1 i-cache line size */
+    u32 log_iline_size;
+    u32 ilines_per_page;
 };
 extern struct cpu_caches cpu_caches;
 #endif
diff -r e99a195f2112 -r 2b8660a8a9bc xen/include/asm-powerpc/page.h
--- a/xen/include/asm-powerpc/page.h    Thu Sep 14 11:13:54 2006 -0500
+++ b/xen/include/asm-powerpc/page.h    Mon Sep 18 13:21:39 2006 -0500
@@ -73,19 +73,19 @@ typedef struct { unsigned long l1_lo; } 
 
 static __inline__ void clear_page(void *addr)
 {
-       unsigned long lines, line_size;
+    unsigned long lines, line_size;
 
-       line_size = cpu_caches.dline_size;
-       lines = cpu_caches.dlines_per_page;
+    line_size = cpu_caches.dline_size;
+    lines = cpu_caches.dlines_per_page;
 
-       __asm__ __volatile__(
-       "mtctr  %1      # clear_page\n\
-1:      dcbz   0,%0\n\
-       add     %0,%0,%3\n\
-       bdnz+   1b"
+    __asm__ __volatile__(
+    "mtctr  %1      # clear_page\n\
+1:  dcbz    0,%0\n\
+    add     %0,%0,%3\n\
+    bdnz+   1b"
     : "=r" (addr)
     : "r" (lines), "0" (addr), "r" (line_size)
-       : "ctr", "memory");
+    : "ctr", "memory");
 }
 
 extern void copy_page(void *dp, void *sp);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.