diff options
-rw-r--r-- | drivers/xen/manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index 412b96cc5305..b1005d4a953d 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c | |||
@@ -43,6 +43,7 @@ struct suspend_info { | |||
43 | void (*post)(int cancelled); | 43 | void (*post)(int cancelled); |
44 | }; | 44 | }; |
45 | 45 | ||
46 | #ifdef CONFIG_HIBERNATE_CALLBACKS | ||
46 | static void xen_hvm_post_suspend(int cancelled) | 47 | static void xen_hvm_post_suspend(int cancelled) |
47 | { | 48 | { |
48 | xen_arch_hvm_post_suspend(cancelled); | 49 | xen_arch_hvm_post_suspend(cancelled); |
@@ -63,7 +64,6 @@ static void xen_post_suspend(int cancelled) | |||
63 | xen_mm_unpin_all(); | 64 | xen_mm_unpin_all(); |
64 | } | 65 | } |
65 | 66 | ||
66 | #ifdef CONFIG_HIBERNATE_CALLBACKS | ||
67 | static int xen_suspend(void *data) | 67 | static int xen_suspend(void *data) |
68 | { | 68 | { |
69 | struct suspend_info *si = data; | 69 | struct suspend_info *si = data; |