Re: Dereferencing semaphores and atomic_t's

David S. Miller (davem@redhat.com)
Wed, 02 Oct 2002 03:32:59 -0700 (PDT)


From: Russell King <rmk@arm.linux.org.uk>
Date: Wed, 2 Oct 2002 11:16:26 +0100

Do we really allow this type of layering violation?

No, it should be killed :-)

(There appear to be some circumstances when obtaining the semaphore count is
useful, but shouldn't we provide an architecture helper function to do that
since a semaphore structure _is_ an architecture-defined opaque structure.)

Feel free to make one.
-
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/