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-changelog

[Xen-changelog] Fix Linux fault.c indentation.

# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID b9e8654c3f1074359756d3bc62e653d5e9e9d059
# Parent  5aa93e3c2a22ff7cedf08807ad8c22888b4106d1
Fix Linux fault.c indentation.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 5aa93e3c2a22 -r b9e8654c3f10 
linux-2.6-xen-sparse/arch/xen/i386/mm/fault.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/mm/fault.c     Thu Nov 10 18:32:09 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/fault.c     Thu Nov 10 18:43:56 2005
@@ -208,7 +208,7 @@
 static void dump_fault_path(unsigned long address)
 {
        unsigned long *p, page;
-        unsigned long mfn; 
+       unsigned long mfn; 
 
        preempt_disable();
        page = __pa(per_cpu(cur_pgd, smp_processor_id()));
@@ -218,22 +218,22 @@
        p += (address >> 30) * 2;
        printk(KERN_ALERT "%08lx -> *pde = %08lx:%08lx\n", page, p[1], p[0]);
        if (p[0] & 1) {
-                mfn  = (p[0] >> PAGE_SHIFT) | ((p[1] & 0x7) << 20); 
+               mfn  = (p[0] >> PAGE_SHIFT) | ((p[1] & 0x7) << 20); 
                page = mfn_to_pfn(mfn) << PAGE_SHIFT; 
                p  = (unsigned long *)__va(page);
                address &= 0x3fffffff;
                p += (address >> 21) * 2;
                printk(KERN_ALERT "%08lx -> *pme = %08lx:%08lx\n", 
-                       page, p[1], p[0]);
+                      page, p[1], p[0]);
 #ifndef CONFIG_HIGHPTE
                if (p[0] & 1) {
-                        mfn  = (p[0] >> PAGE_SHIFT) | ((p[1] & 0x7) << 20); 
-                        page = mfn_to_pfn(mfn) << PAGE_SHIFT; 
-                        p  = (unsigned long *) __va(page);
-                        address &= 0x001fffff;
-                        p += (address >> 12) * 2;
-                       printk(KERN_ALERT "%08lx -> *pte = %08lx:%08lx\n", 
-                               page, p[1], p[0]);
+                       mfn  = (p[0] >> PAGE_SHIFT) | ((p[1] & 0x7) << 20); 
+                       page = mfn_to_pfn(mfn) << PAGE_SHIFT; 
+                       p  = (unsigned long *) __va(page);
+                       address &= 0x001fffff;
+                       p += (address >> 12) * 2;
+                       printk(KERN_ALERT "%08lx -> *pte = %08lx:%08lx\n",
+                              page, p[1], p[0]);
                }
 #endif
        }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix Linux fault.c indentation., Xen patchbot -unstable <=