From f1caa480e392d90a541458e733c88d351666d96c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 2 Mar 2009 18:14:47 +0800 Subject: [PATCH] --- yaml --- r: 132075 b: refs/heads/master c: 34d464f8aa3e762ec812a131bfd53ccb4f886f69 h: refs/heads/master i: 132073: 72df455acf04203005eec63bac642519c2789b5c 132071: 7ce11440b61c76a899ba932f74f9af0e4bc859df v: v3 --- [refs] | 2 +- trunk/arch/blackfin/Kconfig.debug | 6 ------ trunk/arch/blackfin/kernel/Makefile | 8 +++++--- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 08bd81165d0a..df13c57617a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0f29456a21ae55c43b4e2a64611f778b1fbe4bdf +refs/heads/master: 34d464f8aa3e762ec812a131bfd53ccb4f886f69 diff --git a/trunk/arch/blackfin/Kconfig.debug b/trunk/arch/blackfin/Kconfig.debug index 5f981d9ca625..79e7e63ab709 100644 --- a/trunk/arch/blackfin/Kconfig.debug +++ b/trunk/arch/blackfin/Kconfig.debug @@ -21,12 +21,6 @@ config DEBUG_STACK_USAGE config HAVE_ARCH_KGDB def_bool y -config KGDB_TESTCASE - tristate "KGDB: for test case in expect" - default n - help - This is a kgdb test case for automated testing. - config DEBUG_VERBOSE bool "Verbose fault messages" default y diff --git a/trunk/arch/blackfin/kernel/Makefile b/trunk/arch/blackfin/kernel/Makefile index 4a92a86824b7..fd4d4328a0f2 100644 --- a/trunk/arch/blackfin/kernel/Makefile +++ b/trunk/arch/blackfin/kernel/Makefile @@ -15,13 +15,15 @@ else obj-y += time.o endif -CFLAGS_kgdb_test.o := -mlong-calls -O0 - obj-$(CONFIG_IPIPE) += ipipe.o obj-$(CONFIG_IPIPE_TRACE_MCOUNT) += mcount.o obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o obj-$(CONFIG_CPLB_INFO) += cplbinfo.o obj-$(CONFIG_MODULES) += module.o obj-$(CONFIG_KGDB) += kgdb.o -obj-$(CONFIG_KGDB_TESTCASE) += kgdb_test.o +obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + +# the kgdb test puts code into L2 and without linker +# relaxation, we need to force long calls to/from it +CFLAGS_kgdb_test.o := -mlong-calls -O0