public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [patch] fix unitilized spinlock in cpm driver when used as console
@ 2005-03-16 16:44 Greg Weeks
  2005-03-16 16:52 ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Weeks @ 2005-03-16 16:44 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]

Fix unitilized spinlock in the cpm scc driver when used as console.

Signed-off-by: Greg Weeks <greg.weeks@timesys•com>



[-- Attachment #2: cpm.console.spinlock.patch --]
[-- Type: text/x-patch, Size: 316 bytes --]

--- all/drivers/serial/cpm_uart/cpm_uart_core.c-orig
+++ all/drivers/serial/cpm_uart/cpm_uart_core.c

@@ -1038,6 +1038,7 @@
 
 	port =
 	    (struct uart_port *)&cpm_uart_ports[cpm_uart_port_map[co->index]];
+	spin_lock_init(&(port->lock));
 	pinfo = (struct uart_cpm_port *)port;
 	
 	pinfo->flags |= FLAG_CONSOLE;

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

* Re: [patch] fix unitilized spinlock in cpm driver when used as console
  2005-03-16 16:44 [patch] fix unitilized spinlock in cpm driver when used as console Greg Weeks
@ 2005-03-16 16:52 ` Kumar Gala
  2005-03-16 18:20   ` Greg Weeks
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2005-03-16 16:52 UTC (permalink / raw)
  To: Greg Weeks; +Cc: linuxppc-embedded

This may already be resolved by this patch which is in the latest bk 
tree.

http://ozlabs.org/ppc32-patches/patch.pl?id=280

- kumar

On Mar 16, 2005, at 10:44 AM, Greg Weeks wrote:

> Fix unitilized spinlock in the cpm scc driver when used as console.
>
> Signed-off-by: Greg Weeks <greg.weeks@timesys•com>
>
>  <cpm.console.spinlock.patch><ATT247771.txt>

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

* Re: [patch] fix unitilized spinlock in cpm driver when used as console
  2005-03-16 16:52 ` Kumar Gala
@ 2005-03-16 18:20   ` Greg Weeks
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Weeks @ 2005-03-16 18:20 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-embedded

Kumar Gala wrote:

> This may already be resolved by this patch which is in the latest bk 
> tree.
>
> http://ozlabs.org/ppc32-patches/patch.pl?id=280
>
> - kumar
>
> On Mar 16, 2005, at 10:44 AM, Greg Weeks wrote:
>
>> Fix unitilized spinlock in the cpm scc driver when used as console.
>>
>> Signed-off-by: Greg Weeks <greg.weeks@timesys•com>
>>
>>  <cpm.console.spinlock.patch><ATT247771.txt>
>
>
Yes that fixes it.

Greg Weeks

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

end of thread, other threads:[~2005-03-16 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 16:44 [patch] fix unitilized spinlock in cpm driver when used as console Greg Weeks
2005-03-16 16:52 ` Kumar Gala
2005-03-16 18:20   ` Greg Weeks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox