[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 09/10] xen: balloon: use correct type for frame_list
On Wed, 17 Oct 2012, Ian Campbell wrote: > This is now a xen_pfn_t. > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> > --- > drivers/xen/balloon.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c > index d7bd1b3..d6886d9 100644 > --- a/drivers/xen/balloon.c > +++ b/drivers/xen/balloon.c > @@ -87,7 +87,7 @@ struct balloon_stats balloon_stats; > EXPORT_SYMBOL_GPL(balloon_stats); > > /* We increase/decrease in batches which fit in a page */ > -static unsigned long frame_list[PAGE_SIZE / sizeof(unsigned long)]; > +static xen_pfn_t frame_list[PAGE_SIZE / sizeof(unsigned long)]; > > #ifdef CONFIG_HIGHMEM > #define inc_totalhigh_pages() (totalhigh_pages++) I know that we agreed to this change but it still gives me the creeps. I would love a comment either in the code or in the commit message, explaining why it is safe to pass a xen_pfn_t (potentially 64 bit) to set_phys_to_machine. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |