Skip to content
Browse files

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 <>
  • Loading branch information...
Charles E. Youse authored and andrewboie committed Jun 23, 2019
1 parent 2835c22 commit 4bdbd879ef650fe6ad4484c9daf56274bb524909
Showing with 0 additions and 10 deletions.
  1. +0 −3 arch/x86/core/ia32/float.c
  2. +0 −7 arch/x86/include/kernel_arch_data.h
@@ -238,9 +238,6 @@ void _FpNotAvailableExcHandler(NANO_ESF *pEsf)
* error checking to ensure the exception was not generated in an ISR.)

PRINTK("_FpNotAvailableExcHandler() exception handler has been "

/* Enable highest level of FP capability configured into the kernel */

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);

#ifdef DEBUG
#include <misc/printk.h>
#define PRINTK(...) printk(__VA_ARGS__)
#define PRINTK(...)
#endif /* DEBUG */

#ifdef __cplusplus
extern "C" {

0 comments on commit 4bdbd87

Please sign in to comment.
You can’t perform that action at this time.