diff options
Diffstat (limited to 'drivers/xen/balloon.c')
-rw-r--r-- | drivers/xen/balloon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index fff987b10e0f..a51f3e17a5fd 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c | |||
@@ -419,7 +419,7 @@ static int __init balloon_init(void) | |||
419 | unsigned long pfn; | 419 | unsigned long pfn; |
420 | struct page *page; | 420 | struct page *page; |
421 | 421 | ||
422 | if (!is_running_on_xen()) | 422 | if (!xen_pv_domain()) |
423 | return -ENODEV; | 423 | return -ENODEV; |
424 | 424 | ||
425 | pr_info("xen_balloon: Initialising balloon driver.\n"); | 425 | pr_info("xen_balloon: Initialising balloon driver.\n"); |