[lkml]   [2000]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.3.42 alpha updates
On Fri, Feb 04, 2000 at 03:15:12PM +0100, Andrea Arcangeli wrote:
> On Fri, 4 Feb 2000, Jakub Jelinek wrote:
> >So put them to include/asm-generic/semaphore.h (and put the .c code say into
> >a comment), but not to alpha which has them already done properly.
> If something it should be moved in include/linux/semaphore.h and
> lib/semaphore.c and then each arch can select the generic semaphore
> implementation with a simple CONFIG_GENERIC_RWSEMAPHORE=y. All includes
> should be changed from asm/semaphore.h to linux/semaphore.h.

Why? The goal is to have architecture optimized rw semaphores, isn't it?
include/asm-generic is a place where historically has been put such code so
a) people can more easily understand how it works and what is it supposed to
b) can be good starting point for new ports

Jakub Jelinek | |
Linux version 2.3.41 on a sparc64 machine (1343.49 BogoMips)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean