Skip to contentSkip to conversation

MBCS: Convert semaphores to the mutex API

PATCH In review [email protected] 2 participants 3 messages Oct 24, 2007 – Oct 25, 2007

lore
Share & tools
lore
#0 lore raw

cover MBCS: Convert semaphores to the mutex API

MBCS: Convert the semaphores algolock, dmareadlock and dmawritelock to the mutex API

Signature · 10 lines
Matthias Kaehlcke
Linux Application Developer
Barcelona

              We build too many walls and not enough bridges
                             (Isaac Newton)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-
#1 lore raw
Quoted 2 lines · On Wed, 24 Oct 2007 19:08:58 +0200 [email protected] wrote:

MBCS: Convert the semaphores algolock, dmareadlock and dmawritelock to the mutex API

Thanks. Has this actually been runtime-tested?

btw, your patches are in `patch -p2' form:

--- kernel.orig/linux-2.6/drivers/char/mbcs.c
+++ kernel/linux-2.6/drivers/char/mbcs.c

should have been in `patch -p1' form:

--- linux-2.6/drivers/char/mbcs.c
+++ linux-2.6/drivers/char/mbcs.c

I'd suggest that you grab and learn
http://savannah.nongnu.org/projects/quilt/ - it takes care of all these things for you.

#2 lore raw

El Wed, Oct 24, 2007 at 09:11:49PM -0700 Andrew Morton ha dit:

Quoted 6 lines · On Wed, 24 Oct 2007 19:08:58 +0200 [email protected] wrote:
Quoted 3 lines

MBCS: Convert the semaphores algolock, dmareadlock and dmawritelock to the mutex API

Thanks. Has this actually been runtime-tested?

no, i could only test successfull compilation as i don't have the device

Quoted 10 lines

btw, your patches are in `patch -p2' form:

linux-2.6/drivers/char/mbcs.c +0 -0

should have been in `patch -p1' form:

drivers/char/mbcs.c +0 -0
Quoted 3 lines

I'd suggest that you grab and learn
http://savannah.nongnu.org/projects/quilt/ - it takes care of all these things for you.

i actually used quilt for this patchset but must have missed something. thanks for the pointer!

Signature · 10 lines
Matthias Kaehlcke
Linux Application Developer
Barcelona

          Dreams and reality are opposites. Action synthesizes them
                             (Assata Shakur)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-