diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2018-03-04 22:17:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 09:57:17 -0800 |
commit | 4f098af514d2608b74025a27faecc24cce238b71 (patch) | |
tree | 1b673fba56353dbc0aa65c07555d911b18c5e230 /drivers/xen | |
parent | 223e1e4d2c16fed4ce7d0a092316eff1ba706988 (diff) | |
download | linux-4f098af514d2608b74025a27faecc24cce238b71.tar.bz2 |
hv_balloon: simplify hv_online_page()/hv_page_online_one()
Instead of doing pfn_to_page() and continuosly casting page to unsigned
long just cache the pfn of the page with page_to_pfn().
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions