dsp5680xx: fix compilation problems

use a more specific global variable name than "context", which
can easily conflict with other things.
This commit is contained in:
Øyvind Harboe
2011-06-28 18:09:48 +02:00
parent ff640f197a
commit e4c054cada
2 changed files with 36 additions and 31 deletions

View File

@@ -217,7 +217,9 @@ struct dsp5680xx_common{
//TODO
uint32_t stored_pc;
int flush;
}context;
};
extern struct dsp5680xx_common dsp5680xx_context;
static inline struct dsp5680xx_common *target_to_dsp5680xx(struct target *target){
return target->arch_info;