]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/commitdiff
stubdom/minios: don't retrieve the address of void variable
authorGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 16:31:47 +0000 (16:31 +0000)
committerGianni Tedesco <gianni.tedesco@citrix.com>
Tue, 11 Jan 2011 16:31:47 +0000 (16:31 +0000)
Objects must not be declared to have type void.  Declare shared_info
to have the appropriate type instead.

Author: Ganni Tedesco <gianni.tedesco@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
arch/x86/mm.c

index cb7f03747773db6f97a0677769b5a68d66432712..80aceacd2a28d07e4930fdc0bb9a40ab9ac8c388 100644 (file)
@@ -281,7 +281,7 @@ static void build_pagetable(unsigned long *start_pfn, unsigned long *max_pfn)
 /*
  * Mark portion of the address space read only.
  */
-extern void shared_info;
+extern struct shared_info shared_info;
 static void set_readonly(void *text, void *etext)
 {
     unsigned long start_address =