File platform/linux-generic/include/odp_shm_internal.h exposes shm
internals used by IPC. The bits used by the internal flags are moved
to make room for more "official" values.
The platform/linux-generic/include/odp_shm_internal.h file should really
be removed when _ishm is used, but as long as we have the current IPC,
removing the file would break compilation.

Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
 platform/linux-generic/include/odp_shm_internal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platform/linux-generic/include/odp_shm_internal.h 
b/platform/linux-generic/include/odp_shm_internal.h
index 30e60f7..8bd105d 100644
--- a/platform/linux-generic/include/odp_shm_internal.h
+++ b/platform/linux-generic/include/odp_shm_internal.h
@@ -16,8 +16,8 @@ extern "C" {
 #define SHM_DEVNAME_MAXLEN (ODP_SHM_NAME_LEN + 16)
 #define SHM_DEVNAME_FORMAT "/odp-%d-%s" /* /dev/shm/odp-<pid>-<name> */
 
-#define _ODP_SHM_PROC_NOCREAT 0x4  /**< Do not create shm if not exist */
-#define _ODP_SHM_O_EXCL              0x8  /**< Do not create shm if exist */
+#define _ODP_SHM_PROC_NOCREAT 0x40  /**< Do not create shm if not exist */
+#define _ODP_SHM_O_EXCL              0x80  /**< Do not create shm if exist */
 
 #ifdef __cplusplus
 }
-- 
2.7.4

Reply via email to