diff options
author | Jimmy Huang <jimmy.huang@linux.intel.com> | 2017-05-11 07:59:31 -0700 |
---|---|---|
committer | Geoff Gustafson <geoff@linux.intel.com> | 2017-05-11 07:59:31 -0700 |
commit | b7e447d325485024a00144b90ba247af86ed2f98 (patch) | |
tree | 75b3239512086bff5f5049699dea5c6a9552194d /src/zjs_common.h | |
parent | 0c4e943cf0e22848eefff3e737ecb12f1c518648 (diff) |
[pme] Initial implementation of CuriePME API (#1082)
Added CuriePME driver from the 01.org/Intel-Pattern-Matching-Technology
project, and added Javascript bindings for the core APIs.
Also created a sample the tests the basic functionality.
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
Diffstat (limited to 'src/zjs_common.h')
-rw-r--r-- | src/zjs_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/zjs_common.h b/src/zjs_common.h index 470a7e4..fe44132 100644 --- a/src/zjs_common.h +++ b/src/zjs_common.h @@ -6,8 +6,15 @@ // This file includes code common to both X86 and ARC #include <stdio.h> +#if CONFIG_ARC +#include <misc/printk.h> +#endif +#ifdef CONFIG_ARC +#define ZJS_PRINT printk +#else #define ZJS_PRINT printf +#endif /** * Return a pointer to the filename portion of a string plus one parent dir |