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)
commit031d0112d780d4a8fe8b0bfba4ae446e4ddc5c66
treec4a9827bf68746982e8c9824ca73122f4caf0959
parentc92931b200156e304350e3e9f138e6abfb1f2913
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