aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/troubleshoot.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-18 15:12:21 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:15:57 +0530
commitc08098f28e3f3830086b1b542c2d2646a84e109c (patch)
tree246c4d6e2874f455e3cb19a85f83c96a4f460edf /arch/arc/kernel/troubleshoot.c
parentARC: [plat-arcfpga]: Enabling DeviceTree for Angel4 board (diff)
downloadlinux-dev-c08098f28e3f3830086b1b542c2d2646a84e109c.tar.xz
linux-dev-c08098f28e3f3830086b1b542c2d2646a84e109c.zip
ARC: Last bits (stubs) to get to a running kernel with UART
This was part of port buildup strategy from Arnd to have a minimal kernel at first and then add optional features (stacktracing, ptrace, smp, kprobes, oprofile....) Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/troubleshoot.c')
-rw-r--r--arch/arc/kernel/troubleshoot.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c
new file mode 100644
index 000000000000..80bfe2a15a98
--- /dev/null
+++ b/arch/arc/kernel/troubleshoot.c
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ */
+
+#include <linux/ptrace.h>
+
+void show_regs(struct pt_regs *regs)
+{
+}
+
+void show_kernel_fault_diag(const char *str, struct pt_regs *regs,
+ unsigned long address, unsigned long cause_reg)
+{
+}