arch/x86: remove old PRINTK() debugging macro
This appears to date all the way back to the initial import and is used in exactly one place if DEBUG is on. Removed. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
2835c22985
commit
4bdbd879ef
2 changed files with 0 additions and 10 deletions
|
@ -238,9 +238,6 @@ void _FpNotAvailableExcHandler(NANO_ESF *pEsf)
|
||||||
* error checking to ensure the exception was not generated in an ISR.)
|
* error checking to ensure the exception was not generated in an ISR.)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PRINTK("_FpNotAvailableExcHandler() exception handler has been "
|
|
||||||
"invoked\n");
|
|
||||||
|
|
||||||
/* Enable highest level of FP capability configured into the kernel */
|
/* Enable highest level of FP capability configured into the kernel */
|
||||||
|
|
||||||
k_float_enable(_current, _FP_USER_MASK);
|
k_float_enable(_current, _FP_USER_MASK);
|
||||||
|
|
|
@ -117,13 +117,6 @@ extern void z_x86_thread_entry_wrapper(k_thread_entry_t entry,
|
||||||
void *p1, void *p2, void *p3);
|
void *p1, void *p2, void *p3);
|
||||||
#endif /* _THREAD_WRAPPER_REQUIRED */
|
#endif /* _THREAD_WRAPPER_REQUIRED */
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
#include <misc/printk.h>
|
|
||||||
#define PRINTK(...) printk(__VA_ARGS__)
|
|
||||||
#else
|
|
||||||
#define PRINTK(...)
|
|
||||||
#endif /* DEBUG */
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue