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] [pushed][ppc] Make sure PAGE_SIZE is available to define the in

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed][ppc] Make sure PAGE_SIZE is available to define the initial stack
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 27 Mar 2006 16:58:06 -0500
Delivery-date: Mon, 27 Mar 2006 21:57:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
changeset:   9450:0093124ba24b
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Thu Mar 23 11:39:45 2006 -0500
summary:     [ppc] Make sure PAGE_SIZE is available to define the initial stack

diff -r 76805cb82965 -r 0093124ba24b xen/arch/ppc/boot/start.S
--- a/xen/arch/ppc/boot/start.S Wed Mar 15 13:19:41 2006 -0600
+++ b/xen/arch/ppc/boot/start.S Thu Mar 23 11:39:45 2006 -0500
@@ -19,6 +19,7 @@
 
 #include <asm/config.h>
 #include <asm/processor.h>
+#include <asm/page.h>
 
     .globl _start
 _start:
diff -r 76805cb82965 -r 0093124ba24b xen/include/asm-ppc/page.h
--- a/xen/include/asm-ppc/page.h        Wed Mar 15 13:19:41 2006 -0600
+++ b/xen/include/asm-ppc/page.h        Thu Mar 23 11:39:45 2006 -0500
@@ -20,12 +20,14 @@
 #ifndef _ASM_PAGE_H
 #define _ASM_PAGE_H
 
-#include <xen/config.h>
-#include <asm/misc.h>
-
 #define PAGE_SHIFT 12
 #define PAGE_SIZE (1<<PAGE_SHIFT)
 #define PAGE_MASK (~(PAGE_SIZE-1))
+
+#ifndef __ASSEMBLY__
+
+#include <xen/config.h>
+#include <asm/misc.h>
 
 #define PFN_DOWN(x)   ((x) >> PAGE_SHIFT)
 #define PFN_UP(x)     (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
@@ -105,4 +107,5 @@ static inline int get_order_from_pages(u
 #define _PAGE_PAT      0x080UL
 #define _PAGE_PSE      0x080UL
 #define _PAGE_GLOBAL   0x100UL
+#endif  /* ! __ASSEMBLY__ */
 #endif



_______________________________________________
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] [pushed][ppc] Make sure PAGE_SIZE is available to define the initial stack, jimix <=