Re: rwsem-spinlock error

From: Nick Piggin
Date: Thu Jun 17 2004 - 05:38:08 EST


Geert Uytterhoeven wrote:
On Wed, 16 Jun 2004, Marcelo Tosatti wrote:

<nickpiggin:yahoo.com.au>:
o rwsem race fixes backported from 2.6


Nuno Monteiro:
o Fix rwsem-fix typo
o Complete rwsem typo fix


| rwsem-spinlock.c: In function `__rwsem_wake_one_writer':
| rwsem-spinlock.c:111: `tsk' undeclared (first use in this function)
| rwsem-spinlock.c:111: (Each undeclared identifier is reported only once
| rwsem-spinlock.c:111: for each function it appears in.)

How can this ever compile on any architecture?


Dangit. rwsem-spinlock.c isn't compiled for many architectures.

It should just require a

struct task_struct *tsk;

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