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

Re: [Xen-devel] NR_GRANT_ENTRIES definition ??



kaushikb wrote:
I need to use NR_GRANT_ENTRIES in xen/common/grant_table.c but couldnt find its definition anywhere... grepping could see that INITIAL_NR_GRANT_ENTRIES (but not NR_GRANT_ENTRIES) is defined in xen/include/xen/grant_table.h whereas NR_GRANT_ENTRIES (and NR_GRANT_FRAMES) is defined instead in extras/mini-os/gnttab.c

Do I need to copy the NR_GRANT_ENTRIES and NR_GRANT_FRAMES definitions from extras/mini-os/gnttab.c to xen/include/xen/grant_table.h ?

-Kaushik


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

got it... use
nr_grant_entries(rd->grant_table)) instead of NR_GRANT_ENTRIES .. should have known this earlier.. :)

-Kaushik

_______________________________________________
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®.