Re: [BUG 2.4.7] enabling RWSEM_DEBUG

From: David Howells (dhowells@redhat.com)
Date: Thu Jul 26 2001 - 08:28:09 EST


> Unfortunately, I ran into a bug with enabling RWSEM_DEBUG. The bug still
> exists in 2.4.7.

It's because you've got CONFIG_MODVERSIONS=y set. This causes the following to
be emitted and automatically included:

        [include/linux/modules/rwsem.ver]
        #define __ver_rwsemtrace smp_8447b3cd
        #define rwsemtrace _set_ver(rwsemtrace)

This then causes the #ifndef rwsemtrace in fail, and thus not to include an
actual declaration of the rwsemtrace function.

David
-
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/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:26 EST