aboutsummaryrefslogtreecommitdiff
path: root/src/zjs_common.h
diff options
context:
space:
mode:
authorGeoff Gustafson <geoff@linux.intel.com>2016-09-29 17:10:51 -0700
committerJimmy Huang <jimmy.huang@linux.intel.com>2016-10-03 14:02:26 -0700
commitbd183ec6dd8114ef5859d1f642d9dff5ca80a3ea (patch)
tree0e434bd398bb1943f6f1ce6d81677200c66d13c6 /src/zjs_common.h
parent99e8c1ff6f509c387ea8f9935584650d1c778787 (diff)
[General] Modify DBG_PRINT to not require double parentheses
Also, it appears we never require PRINT to be defined as printk in our code, so remove that ifdef for now.
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r--src/zjs_common.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h
index b2938f4..bffd08e 100644
--- a/src/zjs_common.h
+++ b/src/zjs_common.h
@@ -4,18 +4,10 @@
#define __zjs_common_h__
// This file includes code common to both X86 and ARC
-#ifndef ZJS_LINUX_BUILD
-#if defined(CONFIG_STDOUT_CONSOLE)
-#include <stdio.h>
-#define PRINT printf
-#else
-#include <misc/printk.h>
-#define PRINT printk
-#endif
-#else
+
#include <stdio.h>
-#define PRINT printf
-#endif
+
+#define PRINT printf
// TODO: We should instead have a macro that changes in debug vs. release build,
// to save string space and instead print error codes or something for release.