Re: [PATCH] drivers: tty: Make RT aware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013-1-24 13:30, Sven-Thorsten Dietrich wrote:
> On Jan 23, 2013, at 8:07 PM, Libo Chen <chenlibo.3@xxxxxxxxx> wrote:
>
>> From: Libo Chen <libo.chen@xxxxxxxxxx>
>>
>> On RT  spinlocks are converted to "sleeping" locks and
>> therefor the local_irq_save/restore must be converted to
>> local_irq_save/restore_nort
>>
>> Signed-off-by: Libo Chen <libo.chen@xxxxxxxxxx>
>>
>> ---
>> arch/alpha/kernel/srmcons.c       |    4 ++--
>> drivers/tty/serial/amba-pl011.c   |    4 ++--
>> drivers/tty/serial/ar933x_uart.c  |    4 ++--
>> drivers/tty/serial/bcm63xx_uart.c |    4 ++--
>> drivers/tty/serial/mfd.c          |    4 ++--
>> drivers/tty/serial/sunhv.c        |    8 ++++----
>> drivers/tty/serial/sunsab.c       |    4 ++--
>> drivers/tty/serial/sunzilog.c     |    4 ++--
>> 8 files changed, 18 insertions(+), 18 deletions(-)
>>
> Has any of this code been tested on actual hardware running RT Kernel?
>
> Thanks
>
> Sven
>
>

Thank you for your attention.  
I don`t have these hardwares, and just review the RT code.  As we know interrupt 
was threaded and spinlock can sleep on RT, so local_irq_save is unnecessary here.

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux