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/include/dspbridge/node.h | |
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/include/dspbridge/node.h')
-rw-r--r-- | drivers/staging/tidspbridge/include/dspbridge/node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/tidspbridge/include/dspbridge/node.h b/drivers/staging/tidspbridge/include/dspbridge/node.h index 7587213b2c43..e9d8439861cc 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/node.h +++ b/drivers/staging/tidspbridge/include/dspbridge/node.h @@ -558,6 +558,7 @@ extern int node_get_uuid_props(void *hprocessor, OUT struct dsp_ndbprops *node_props); +#ifdef CONFIG_TIDSPBRIDGE_BACKTRACE /** * node_find_addr() - Find the closest symbol to the given address. * @@ -575,5 +576,6 @@ int node_find_addr(struct node_mgr *node_mgr, u32 sym_addr, char *sym_name); enum node_state node_get_state(void *hnode); +#endif #endif /* NODE_ */ |