From: Jason Wessel Date: Tue, 19 May 2009 12:49:32 +0000 (-0500) Subject: Move kernel/kgdb.c to kernel/debug/debug_core.c X-Git-Tag: upstream/snapshot3+hdmi~14548^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c433820971ffa854feda6adc17f5f24201354f11;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Move kernel/kgdb.c to kernel/debug/debug_core.c Move kgdb.c in preparation to separate the gdbstub from the debug core and exception handling. CC: Ingo Molnar Signed-off-by: Jason Wessel --- diff --git a/kernel/Makefile b/kernel/Makefile index 149e18e..057472f 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -75,7 +75,7 @@ obj-$(CONFIG_AUDITSYSCALL) += auditsc.o obj-$(CONFIG_GCOV_KERNEL) += gcov/ obj-$(CONFIG_AUDIT_TREE) += audit_tree.o obj-$(CONFIG_KPROBES) += kprobes.o -obj-$(CONFIG_KGDB) += kgdb.o +obj-$(CONFIG_KGDB) += debug/ obj-$(CONFIG_DETECT_SOFTLOCKUP) += softlockup.o obj-$(CONFIG_DETECT_HUNG_TASK) += hung_task.o obj-$(CONFIG_GENERIC_HARDIRQS) += irq/ diff --git a/kernel/debug/Makefile b/kernel/debug/Makefile new file mode 100644 index 0000000..5d78504 --- /dev/null +++ b/kernel/debug/Makefile @@ -0,0 +1,6 @@ +# +# Makefile for the linux kernel debugger +# + +obj-$(CONFIG_KGDB) += debug_core.o + diff --git a/kernel/kgdb.c b/kernel/debug/debug_core.c similarity index 100% rename from kernel/kgdb.c rename to kernel/debug/debug_core.c