diff options
author | Felipe Contreras | 2010-07-04 15:36:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-07-08 22:34:54 +0200 |
commit | 4f551c8f6b89902a83328fbf50585ec7ee03ed5a (patch) | |
tree | f65472928ba5c9883119264f12401d075eddec1b /drivers/staging/tidspbridge/gen | |
parent | staging: ti dspbridge: use _DEBUG for debug trace (diff) | |
download | kernel-qcow2-linux-4f551c8f6b89902a83328fbf50585ec7ee03ed5a.tar.gz kernel-qcow2-linux-4f551c8f6b89902a83328fbf50585ec7ee03ed5a.tar.xz kernel-qcow2-linux-4f551c8f6b89902a83328fbf50585ec7ee03ed5a.zip |
staging: ti dspbridge: add _BACKTRACE config
We only want this code when testing.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/gen')
-rw-r--r-- | drivers/staging/tidspbridge/gen/gh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/gen/gh.c b/drivers/staging/tidspbridge/gen/gh.c index d1e7b38f7fb6..44fad88e69c5 100644 --- a/drivers/staging/tidspbridge/gen/gh.c +++ b/drivers/staging/tidspbridge/gen/gh.c @@ -188,6 +188,7 @@ static void myfree(void *ptr, s32 size) gs_free(ptr); } +#ifdef CONFIG_TIDSPBRIDGE_BACKTRACE /** * gh_iterate() - This function goes through all the elements in the hash table * looking for the dsp symbols. @@ -211,3 +212,4 @@ void gh_iterate(struct gh_t_hash_tab *hash_tab, } } } +#endif |