WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [xenppc-unstable] [XEN][POWERPC] Whitespace.

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [XEN][POWERPC] Whitespace.
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Sep 2006 17:30:32 +0000
Delivery-date: Thu, 14 Sep 2006 10:37:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 4fd80d78e227877b5319b09e6befe54e0c6906c9
# Parent  daa613b3f42362ff97e6712f5318a0bd0a6e1291
[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      |   20 ++++++++++----------
 3 files changed, 22 insertions(+), 22 deletions(-)

diff -r daa613b3f423 -r 4fd80d78e227 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       Thu Sep 14 12:27:01 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 daa613b3f423 -r 4fd80d78e227 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   Thu Sep 14 12:27:01 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 daa613b3f423 -r 4fd80d78e227 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    Thu Sep 14 12:27:01 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);
@@ -147,7 +147,7 @@ extern unsigned long paddr_to_maddr(unsi
 
 static inline unsigned long gmfn_to_mfn(struct domain *d, unsigned long gmfn)
 {
-       return pfn2mfn(d, gmfn, NULL);
+    return pfn2mfn(d, gmfn, NULL);
 }
 
 #define mfn_to_gmfn(_d, mfn) (mfn)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [XEN][POWERPC] Whitespace., Xen patchbot-xenppc-unstable <=