lkml.org 
[lkml]   [2015]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] MIPS: traps: Add missing include file
Date
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@cogentembedded.com>
Signed-off-by: Guenter Roeck <linux@roeck-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


\
 
 \ /
  Last update: 2015-06-05 16:41    [W:0.056 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site