lkml.org 
[lkml]   [2001]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH] remove BKL from drivers' release functions
    Andrew Morton wrote:

    >"David C. Hansen" wrote:
    >
    >>+static spinlock_t user_list_lock;
    >>= SPIN_LOCK_UNLOCKED;
    >>
    Whoops. Here's another patch to throw on top of the first one.

    --- linux-2.5.1-pre2-dirty/arch/i386/kernel/apm.c Wed Nov 28 15:37:59
    2001
    +++ linux/arch/i386/kernelapm.c Wed Nov 28 15:37:41 2001
    @@ -387,7 +387,7 @@
    static DECLARE_WAIT_QUEUE_HEAD(apm_waitqueue);
    static DECLARE_WAIT_QUEUE_HEAD(apm_suspend_waitqueue);
    static struct apm_user * user_list;
    +static spinlock_t user_list_lock = SPIN_LOCK_UNLOCKED;
    -static spinlock_t user_list_lock;

    static char driver_version[] = "1.15"; /* no spaces */


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:13    [W:0.022 / U:90.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site