|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH]: minios: don't retrieve the address of void	variable
 
Apparently this is verboten and gcc-4.5 doesn't like it.
Signed-off-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
diff -r c55b93f3f8cf extras/mini-os/arch/x86/mm.c
--- a/extras/mini-os/arch/x86/mm.c      Fri Jan 07 15:27:30 2011 +0000
+++ b/extras/mini-os/arch/x86/mm.c      Fri Jan 07 17:04:48 2011 +0000
@@ -281,7 +281,7 @@ static void build_pagetable(unsigned lon
 /*
  * Mark portion of the address space read only.
  */
-extern void shared_info;
+extern struct void_opaque_stuff shared_info;
 static void set_readonly(void *text, void *etext)
 {
     unsigned long start_address =
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH]: minios: don't retrieve the address of void	variable,
Gianni Tedesco <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |