Don't declare the cprof buf if CPROFILE isn't on.
This commit is contained in:
parent
b696823379
commit
6ac0338584
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,7 @@ irq_hook_t *hook;
|
|||
|
||||
#endif /* SPROFILE */
|
||||
|
||||
|
||||
#if CPROFILE
|
||||
/*
|
||||
* The following variables and functions are used by the procentry/
|
||||
* procentry syslib functions when linked with kernelspace processes.
|
||||
|
@ -171,3 +171,4 @@ void *tbl_ptr;
|
|||
cprof_procs_no++;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue