diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2010-07-04 16:36:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-08 13:34:54 -0700 |
commit | 4f551c8f6b89902a83328fbf50585ec7ee03ed5a (patch) | |
tree | f65472928ba5c9883119264f12401d075eddec1b /drivers/staging/tidspbridge/gen | |
parent | 1ceea25372dd6e37c9804f713b6e2c6bdd008d03 (diff) |
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 d1e7b38f7fb..44fad88e69c 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 |