lkml.org 
[lkml]   [2010]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH tip/core/rcu 24/48] rcu: make SRCU usable in modules
    Date
    Add a #include for mutex.h to allow SRCU to be more easily used in
    kernel modules.

    Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
    Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    ---
    include/linux/srcu.h | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/include/linux/srcu.h b/include/linux/srcu.h
    index 9c01f10..4d5d2f5 100644
    --- a/include/linux/srcu.h
    +++ b/include/linux/srcu.h
    @@ -27,6 +27,8 @@
    #ifndef _LINUX_SRCU_H
    #define _LINUX_SRCU_H

    +#include <linux/mutex.h>
    +
    struct srcu_struct_array {
    int c[2];
    };
    --
    1.7.0


    \
     
     \ /
      Last update: 2010-05-04 22:51    [W:3.533 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site