• Peter Zijlstra's avatar
    [PATCH] lockdep: annotate i386 apm · 3864c489
    Peter Zijlstra authored
    
    
    Lockdep doesn't like to enable interrupts when they are enabled already.
    
    BUG: warning at kernel/lockdep.c:1814/trace_hardirqs_on() (Not tainted)
     [<c04051ed>] show_trace_log_lvl+0x58/0x16a
     [<c04057fa>] show_trace+0xd/0x10
     [<c0405913>] dump_stack+0x19/0x1b
     [<c043abfb>] trace_hardirqs_on+0xa2/0x11e
     [<c041463c>] apm_bios_call_simple+0xcd/0xfd
     [<c0415242>] apm+0x92/0x5b1
     [<c0402005>] kernel_thread_helper+0x5/0xb
    DWARF2 unwinder stuck at kernel_thread_helper+0x5/0xb
    Leftover inexact backtrace:
     [<c04057fa>] show_trace+0xd/0x10
     [<c0405913>] dump_stack+0x19/0x1b
     [<c043abfb>] trace_hardirqs_on+0xa2/0x11e
     [<c041463c>] apm_bios_call_simple+0xcd/0xfd
     [<c0415242>] apm+0x92/0x5b1
     [<c0402005>] kernel_thread_helper+0x5/0xb
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    3864c489