Re: [PATCH] _TPC,_TSS,_PTC support

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

 



a couple places use local_irq_disable/local_irq_enable

but it isn't obvious why interrupts need to be disabled.
also, wouldn't it be safer to use local_irq_save/local_irq_restore
in the event the code is used with interrupts off?

Applied to acpi-test (and then Lindented:-)

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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux