typedef struct { } rwlock_t
rwlock_t x = (rwlock_t) { };
A similar sequence shows up in sched.c if compiled for uniprocessor,
because RW_LOCK_UNLOCK is now defined as (rwlock_t){} in spinlock.h
On Thu, 29 Oct 1998, Ely Wilson wrote:
>
> > Same here with gcc 2.7.2.3..
> > Oddly enough egcs-2.91.57 19980901 (egcs-1.1 release) compiles it fine,
> > have not rebooted with the new kernel to test it tho..
> >
>
> egcs-2.90.27 980315 (egcs-1.0.2 release) compiles fine (redhat stock egcs)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/