[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1433514585-26380-1-git-send-email-linux@roeck-us.net>
Date: Fri, 5 Jun 2015 07:29:45 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Ralf Baechle <ralf@...ux-mips.org>
Cc: linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org,
Guenter Roeck <linux@...ck-us.net>,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Subject: [PATCH -next] MIPS: traps: Add missing include file
Commit 05155ddc2617 ("MIPS: get rid of 'kgdb_early_setup' cruft")
removed the include of linux/kgdb.h from arch/mips/kernel/traps.c.
This results in
arch/mips/kernel/traps.c: In function 'show_stack':
arch/mips/kernel/traps.c:204:14: error: 'kgdb_active' undeclared
arch/mips/kernel/traps.c: In function 'do_trap_or_bp':
arch/mips/kernel/traps.c:877:2: error:
implicit declaration of function 'kgdb_ll_trap'
when building mips:allmodconfig.
Fixes: 05155ddc2617 ("MIPS: get rid of 'kgdb_early_setup' cruft")
Cc: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
arch/mips/kernel/traps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index b5337a3447e7..2a7b38ed23f0 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -29,6 +29,7 @@
#include <linux/bootmem.h>
#include <linux/interrupt.h>
#include <linux/ptrace.h>
+#include <linux/kgdb.h>
#include <linux/kdebug.h>
#include <linux/kprobes.h>
#include <linux/notifier.h>
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists