summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-01 00:55:39 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-06 19:44:16 +0400
commit7f256020cc599bc0b736c57d702b864dbbefcefb (patch)
treea6eb6a8f1d809cf98c058ff7272a6eddf51ca57f /include/xen
parent2771374d47220c7ec271281437625e9519505bb2 (diff)
downloadlinux-7f256020cc599bc0b736c57d702b864dbbefcefb.tar.xz
xen/grants: Remove gnttab_max_grant_frames dependency on gnttab_init.
The function gnttab_max_grant_frames() returns the maximum amount of frames (pages) of grants we can have. Unfortunatly it was dependent on gnttab_init() having been run before to initialize the boot max value (boot_max_nr_grant_frames). This meant that users of gnttab_max_grant_frames would always get a zero value if they called before gnttab_init() - such as 'platform_pci_init' (drivers/xen/platform-pci.c). Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions