Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes:
This is the WARN_ONCE(!irqs_disabled()) check. static inline bool arch_irqs_disabled_flags(unsigned long flags) { return (flags & ~ALLOWINT) != 0;
That should be return (flags & 0x700) == 0x700; It doesn't make sense to use ALLOWINT here, since arch_local_irq_disable doesn't use it either. Andreas. -- Andreas Schwab, schwab@xxxxxxxxxxxxxx GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html