summaryrefslogtreecommitdiffstats
path: root/kernel/cpu_pm.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-12-31 15:55:39 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-06 10:44:16 -0500
commit7f256020cc599bc0b736c57d702b864dbbefcefb (patch)
treea6eb6a8f1d809cf98c058ff7272a6eddf51ca57f /kernel/cpu_pm.c
parent2771374d47220c7ec271281437625e9519505bb2 (diff)
downloadop-kernel-dev-7f256020cc599bc0b736c57d702b864dbbefcefb.zip
op-kernel-dev-7f256020cc599bc0b736c57d702b864dbbefcefb.tar.gz
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 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud