Re: 2.4.10 build failure - atomic_dec_and_lock export

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Tue Oct 02 2001 - 12:52:29 EST


>>>>> " " == Andreas Schwab <schwab@suse.de> writes:

> Trond Myklebust <trond.myklebust@fys.uio.no> writes:
> |> If you have CONFIG_SMP defined then atomic_dec_and_lock will
> |> never get defined

> Unless you use CONFIG_MODVERSIONS, which causes
> atomic_dec_and_lock to be versioned and defined as a macro via
> <linux/modversions.h>.

Oh great... That's going to confound the test in <linux/spinlock.h>
too.

Urgh. Can anybody propose a less ugly solution than EXPORT_SYMBOL_NOVERS()?

Cheers,
   Trond
-
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 : Sun Oct 07 2001 - 21:00:23 EST