lkml.org 
[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [RFC PATCH 31/35] Add Xen grant table support
Date
From
> > +#ifndef __ia64__
> > +static int map_pte_fn(pte_t *pte, struct page *pte_page,
> > + unsigned long addr, void *data)
> > +{
> > + unsigned long **frames = (unsigned long **)data;
> > +
> > + set_pte_at(&init_mm, addr, pte, pfn_pte((*frames)[0],
> PAGE_KERNEL));
> > + (*frames)++;
> > + return 0;
> > +}
>
> looks to me the wrong ifdef for a file in arch/i386... please fix

FYI, the grant table support is also used by non-x86 Xen architectures
(currently ia64 and soon ppc) so grant table files (along with event
channel files and some others) will eventually need to move out
of mach-xen. The files are currently in drivers/xen/core in the Xen
tree, which is not really a good place either. Suggestions?

Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-22 19:28    [W:0.031 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site