diff options
| author | 2018-03-04 22:17:20 -0700 | |
|---|---|---|
| committer | 2018-03-06 09:57:17 -0800 | |
| commit | 4f098af514d2608b74025a27faecc24cce238b71 (patch) | |
| tree | 1b673fba56353dbc0aa65c07555d911b18c5e230 /drivers/misc/lkdtm/bugs.c | |
| parent | hv_balloon: fix printk loglevel (diff) | |
| download | linux-dev-4f098af514d2608b74025a27faecc24cce238b71.tar.xz linux-dev-4f098af514d2608b74025a27faecc24cce238b71.zip | |
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/misc/lkdtm/bugs.c')
0 files changed, 0 insertions, 0 deletions
