lkml.org 
[lkml]   [2011]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: m68k: Convert to genirq (WIP)
    Date
    Geert Uytterhoeven <geert@linux-m68k.org> 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@linux-m68k.org
    GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
    "And now for something completely different."


    \
     
     \ /
      Last update: 2011-06-17 19:25    [W:0.019 / U:59.808 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site