All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] removing R/W semaphore content from standard semaphore.h files
@ 2007-02-16 19:10 Robert P. J. Day
  2007-02-16 19:59 ` [KJ] removing R/W semaphore content from standard semaphore.h Randy Dunlap
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Robert P. J. Day @ 2007-02-16 19:10 UTC (permalink / raw)
  To: kernel-janitors


  if someone could clarify this, i'd appreciate it.  i recently
submitted a patch that removed any inclusions of "linux/rwsem.h" from
the semaphore.h files, since standard semaphore header files should
*not* be pulling in any R/W sem stuff -- the R/W semaphores now have
their own rwsem.h header file.

  however, some of the semaphore.h files contain the following macro
definition:

$ grep RW_LOCK_BIAS $(find . -name semaphore.h)
./include/asm-frv/semaphore.h:#define RW_LOCK_BIAS               0x01000000
./include/asm-m68knommu/semaphore.h:#define RW_LOCK_BIAS         0x01000000
./include/asm-m68k/semaphore.h:#define RW_LOCK_BIAS              0x01000000
./include/asm-h8300/semaphore.h:#define RW_LOCK_BIAS             0x01000000
./include/asm-cris/semaphore.h:#define RW_LOCK_BIAS              0x01000000

  for the same reason as above, i'm fairly certain that *those* macros
should be removed from the regular semaphore.h files.  what does that
macro represent?  and where should it *properly* be defined?  thanks.

rday

-- 
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-02-16 21:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 19:10 [KJ] removing R/W semaphore content from standard semaphore.h files Robert P. J. Day
2007-02-16 19:59 ` [KJ] removing R/W semaphore content from standard semaphore.h Randy Dunlap
2007-02-16 20:23 ` Robert P. J. Day
2007-02-16 20:28 ` Robert P. J. Day
2007-02-16 20:33 ` Randy Dunlap
2007-02-16 20:44 ` Robert P. J. Day
2007-02-16 21:45 ` Frederik Deweerdt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.