]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: fix arch_irqs_disabled_flags implementation
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 31 Mar 2013 02:34:10 +0000 (06:34 +0400)
committerChris Zankel <chris@zankel.net>
Thu, 9 May 2013 08:07:11 +0000 (01:07 -0700)
commit7454e4700cbf9adc21c9f63979807ef519e074ba
treec4a9827bf68746982e8c9824ca73122f4caf0959
parentc4ec5c24bbefbd90f5af99975d25b99182c8521c
xtensa: fix arch_irqs_disabled_flags implementation

IRQs are disabled when PS.EXCM is set or PS.INTLEVEL is equal to or
higher than LOCKLEVEL.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/asm/irqflags.h