lkml.org 
[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 39/49] Staging: hv: vmbus: Fix a memory barrier call in vmbus_drv.c
    Date
    Use the correct memory barrier call in vmbus_drv.c

    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>
    ---
    drivers/staging/hv/vmbus_drv.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)
    diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c
    index bc74030..921ca9a 100644
    --- a/drivers/staging/hv/vmbus_drv.c
    +++ b/drivers/staging/hv/vmbus_drv.c
    @@ -455,7 +455,7 @@ static void vmbus_on_msg_dpc(unsigned long data)
    * will not deliver any more messages since there is
    * no empty slot
    */
    - mb();
    + smp_mb();

    if (msg->header.message_flags.msg_pending) {
    /*
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-06-07 00:41    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site