From 031531d697aadf6c04c0c5fd46bc136584d1c42e Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Mon, 12 May 2008 14:01:54 -0700 Subject: [PATCH] --- yaml --- r: 96455 b: refs/heads/master c: 5563d722bfc73f27423fcb76240bfc1fb4284635 h: refs/heads/master i: 96453: dada42e2570290a7f47ab3656779e8eb11cf3a5f 96451: 3787e1d645b3db460f019eb600d6e18d2e00588c 96447: 058af91f661bb852012c8322b3d0933308b09347 v: v3 --- [refs] | 2 +- trunk/arch/um/include/line.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 23e30bbaa600..5259dd0b4460 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cfd28f6695d0fc047478480791a21bdd4967f98e +refs/heads/master: 5563d722bfc73f27423fcb76240bfc1fb4284635 diff --git a/trunk/arch/um/include/line.h b/trunk/arch/um/include/line.h index 979b73e6352d..311a0d3d93af 100644 --- a/trunk/arch/um/include/line.h +++ b/trunk/arch/um/include/line.h @@ -58,11 +58,11 @@ struct line { }; #define LINE_INIT(str, d) \ - { .count_lock = SPIN_LOCK_UNLOCKED, \ + { .count_lock = __SPIN_LOCK_UNLOCKED((str).count_lock), \ .init_str = str, \ .init_pri = INIT_STATIC, \ .valid = 1, \ - .lock = SPIN_LOCK_UNLOCKED, \ + .lock = __SPIN_LOCK_UNLOCKED((str).lock), \ .driver = d } extern void line_close(struct tty_struct *tty, struct file * filp);