summaryrefslogtreecommitdiff
path: root/drivers/staging/tidspbridge/gen
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2010-07-04 13:36:26 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-08 20:34:54 (GMT)
commit4f551c8f6b89902a83328fbf50585ec7ee03ed5a (patch)
treef65472928ba5c9883119264f12401d075eddec1b /drivers/staging/tidspbridge/gen
parent1ceea25372dd6e37c9804f713b6e2c6bdd008d03 (diff)
downloadlinux-fsl-qoriq-4f551c8f6b89902a83328fbf50585ec7ee03ed5a.tar.xz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/gen/gh.c b/drivers/staging/tidspbridge/gen/gh.c
index d1e7b38..44fad88 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