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