[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] stubdom: use TARGET_PAGE_SIZE



> diff --git a/xenfbfront.c b/xenfbfront.c
> index 32761a5..743c065 100644
> --- a/xenfbfront.c
> +++ b/xenfbfront.c
> @@ -28,6 +28,11 @@ static DisplayChangeListener *dcl;
>  
>  extern uint32_t vga_ram_size;
>  
> +#ifdef CONFIG_STUBDOM
> +#undef PAGE_SIZE
> +#define PAGE_SIZE TARGET_PAGE_SIZE
> +#endif
> +
>  int xenfb_connect_vkbd(const char *path)
>  {
>      kbd_path = strdup(path);
> 
> On Mon, 20 Jul 2009, Christoph Egger wrote:
> 

I think the correct way to fix this is to substitute all the occurrences
of PAGE_SIZE with XC_PAGE_SIZE in xenfbfront.c.


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.