From: Andrew Morton <akpm@osdl.org>
Date: Mon, 14 Aug 2006 06:24:19 +0000 (-0700)
Subject: [PATCH] panic.c build fix
X-Git-Tag: firefly_0821_release~33884
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=657b3010d8f8a72195dfcbe63040127d596f0b14;p=firefly-linux-kernel-4.4.55.git

[PATCH] panic.c build fix

kernel/panic.c: In function 'add_taint':
kernel/panic.c:176: warning: implicit declaration of function 'debug_locks_off'

Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/kernel/panic.c b/kernel/panic.c
index d8a0bca21233..9b8dcfd1ca93 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -18,6 +18,7 @@
 #include <linux/interrupt.h>
 #include <linux/nmi.h>
 #include <linux/kexec.h>
+#include <linux/debug_locks.h>
 
 int panic_on_oops;
 int tainted;