X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2Fbug.c;h=168603477f02889f13fd7119cc55f5e325b08ff9;hb=9c5d647d9b877d850fccca87ae6d2b8b566d7fe1;hp=d0cdf14c651ae629cba6731debb3b6a5edee39bf;hpb=1eaec8212e35aef6606a4e8b40aa9ad9ba87672a;p=karo-tx-linux.git diff --git a/lib/bug.c b/lib/bug.c index d0cdf14c651a..168603477f02 100644 --- a/lib/bug.c +++ b/lib/bug.c @@ -166,7 +166,8 @@ enum bug_trap_type report_bug(unsigned long bugaddr, struct pt_regs *regs) print_modules(); show_regs(regs); print_oops_end_marker(); - add_taint(BUG_GET_TAINT(bug)); + /* Just a warning, don't kill lockdep. */ + add_taint(BUG_GET_TAINT(bug), LOCKDEP_STILL_OK); return BUG_TRAP_TYPE_WARN; }