Re: [patch] 2.3.6 alpha fixes

David S. Miller (davem@redhat.com)
Sat, 12 Jun 1999 08:39:21 -0700


Date: Sat, 12 Jun 1999 18:21:28 +0300
From: Matti Aarnio <matti.aarnio@sonera.fi>

Those macroes are just fine, except the spin_trylock()
which must be as follows:

#define spin_trylock(lock) ((int) 0)

No, on uniprocessor it must always return true, indicating that you
have acquired the lock :-)

Later,
David S. Miller
davem@redhat.com

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