zephyr/include/misc
Andrew Boie d07b3c7453 printk.h: don't break if CONFIG_PRINTK undefined
The footprint-min test cases intentionally turn CONFIG_PRINTK
off to show the minimal footprint. On ARC, printk() is being used
in some core IRQ management code, resulting in a build error.

On other OSes such as Linux, disabling printk() causes any use
of them to compile to nothing rather than generate a build error.
We should do the same here, we shouldn't try to discourage the use
of console logs in the codebase.

Change-Id: Ibbbc044eef715066b3bb9e96b073934320b71aa9
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-02-05 20:14:45 -05:00
..
__assert.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
byteorder.h byteorder: Add macros for 32bits values 2016-02-05 20:13:49 -05:00
dlist.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
lists_c.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00
lists.h Eliminate non-standard NULL definitions 2016-02-05 20:14:14 -05:00
printk.h printk.h: don't break if CONFIG_PRINTK undefined 2016-02-05 20:14:45 -05:00
util.h doxygen: change comment style to match javadoc 2016-02-05 20:14:32 -05:00