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