diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-12-07 14:53:11 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-10 21:46:41 +0100 |
commit | 76d36ab79820430f73c584673aef10ba2446fced (patch) | |
tree | d43d61e014d5d143c5c7dece02cc33495ba445f7 /drivers/hv/hyperv_vmbus.h | |
parent | e7e97dd8b77ee7366f2f8c70a033bf5fa05ec2e0 (diff) | |
download | linux-76d36ab79820430f73c584673aef10ba2446fced.tar.gz linux-76d36ab79820430f73c584673aef10ba2446fced.tar.bz2 linux-76d36ab79820430f73c584673aef10ba2446fced.zip |
hv: switch to cpuhp state machine for synic init/cleanup
To make it possible to online/offline CPUs switch to cpuhp infrastructure
for doing hv_synic_init()/hv_synic_cleanup().
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/hv/hyperv_vmbus.h')
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 27982df20421..83beea748c6f 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -505,9 +505,9 @@ extern int hv_synic_alloc(void); extern void hv_synic_free(void); -extern void hv_synic_init(void *irqarg); +extern int hv_synic_init(unsigned int cpu); -extern void hv_synic_cleanup(void *arg); +extern int hv_synic_cleanup(unsigned int cpu); extern void hv_synic_clockevents_cleanup(void); |