the RocketPort driver uses a semaphore as mutex. use the mutex API
instead of the (binary) semaphore
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
--
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 76357c8..af9379b 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rock
El Wed, Apr 25, 2007 at 03:54:36PM +0200 Jiri Slaby ha dit:
> Matthias Kaehlcke napsal(a):
> > the RocketPort driver uses a semaphore as mutex. use the mutex API
> > instead of the (binary) semaphore
> >
> > Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
> >
>
> I think that ERESTARTSYS i
Matthias Kaehlcke napsal(a):
> the RocketPort driver uses a semaphore as mutex. use the mutex API
> instead of the (binary) semaphore
>
> Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
>
> --
>
> diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
> index 76357c8..7d23790 100644
> -
Matthias Kaehlcke napsal(a):
> the RocketPort driver uses a semaphore as mutex. use the mutex API
> instead of the (binary) semaphore
>
> Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
>
> --
>
> diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
> index 76357c8..7d23790 100644
> -
the RocketPort driver uses a semaphore as mutex. use the mutex API
instead of the (binary) semaphore
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
--
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 76357c8..7d23790 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/roc
El Wed, Apr 25, 2007 at 10:36:38AM +0530 Satyam Sharma ha dit:
> Hi Matthias,
>
> On 4/25/07, Robert Hancock <[EMAIL PROTECTED]> wrote:
> >Matthias Kaehlcke wrote:
> >> El Tue, Apr 24, 2007 at 07:53:04PM +0200 Oliver Neukum ha dit:
> >>
> >>> Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kae
Hi Matthias,
On 4/25/07, Robert Hancock <[EMAIL PROTECTED]> wrote:
Matthias Kaehlcke wrote:
> El Tue, Apr 24, 2007 at 07:53:04PM +0200 Oliver Neukum ha dit:
>
>> Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kaehlcke:
>>> @@ -1706,7 +1706,7 @@ static int rp_write(struct tty_struct *tty,
>>>
Matthias Kaehlcke wrote:
El Tue, Apr 24, 2007 at 07:53:04PM +0200 Oliver Neukum ha dit:
Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kaehlcke:
@@ -1706,7 +1706,7 @@ static int rp_write(struct tty_struct *tty,
if (count <= 0 || rocket_paranoia_check(info, "rp_write"))
El Tue, Apr 24, 2007 at 07:53:04PM +0200 Oliver Neukum ha dit:
> Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kaehlcke:
> > @@ -1706,7 +1706,7 @@ static int rp_write(struct tty_struct *tty,
> > if (count <= 0 || rocket_paranoia_check(info, "rp_write"))
> > return 0;
>
Am Dienstag, 24. April 2007 19:49 schrieb Matthias Kaehlcke:
> @@ -1706,7 +1706,7 @@ static int rp_write(struct tty_struct *tty,
> if (count <= 0 || rocket_paranoia_check(info, "rp_write"))
> return 0;
>
> - down_interruptible(&info->write_sem);
> + mutex_lock_
the RocketPort driver uses a semaphore as mutex. use the mutex API
instead of the (binary) semaphore
Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
--
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 76357c8..faa5dd5 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/roc
11 matches
Mail list logo