]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: hv: vmbus: Directly invoke the channel callback
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 6 Jun 2011 22:49:47 +0000 (15:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 20:45:53 +0000 (13:45 -0700)
Now, directly invoke the channel callback.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/connection.c

index 37bbf770ef117714d320a8e18e368b2835263e3b..fc93bdfdd0bd9059558ce95418ca63eb50f97fdb 100644 (file)
@@ -262,7 +262,7 @@ static void process_chn_event(u32 relid)
        channel = relid2channel(relid);
 
        if (channel) {
-               vmbus_onchannel_event(channel);
+               channel->onchannel_callback(channel->channel_callback_context);
        } else {
                pr_err("channel not found for relid - %u\n", relid);
        }