Move the definition of odp syncronizers abstract types to platform
from public headerfile.
This will allow platform define odp syncronizers abstract type.
Useful when native SDK has definition of the odp syncronizers and
ODP implementation decides to reuses them.

Jerin Jacob (4):
  spinlock: allow platform to override odp_spinlock_t
  rwlock: allow platform to override odp_rwlock_t
  ticketlock: allow platform to override odp_ticketlock_t
  barrier: allow platform to override odp_barrier_t

 include/odp/api/barrier.h                          |  9 -----
 include/odp/api/rwlock.h                           | 12 ------
 include/odp/api/spinlock.h                         | 10 -----
 include/odp/api/ticketlock.h                       | 12 ------
 platform/linux-generic/include/odp/barrier.h       |  1 +
 .../linux-generic/include/odp/plat/barrier_types.h | 44 +++++++++++++++++++++
 .../linux-generic/include/odp/plat/rwlock_types.h  | 45 ++++++++++++++++++++++
 .../include/odp/plat/spinlock_types.h              | 42 ++++++++++++++++++++
 .../include/odp/plat/ticketlock_types.h            | 43 +++++++++++++++++++++
 platform/linux-generic/include/odp/rwlock.h        |  2 +
 platform/linux-generic/include/odp/spinlock.h      |  2 +
 platform/linux-generic/include/odp/ticketlock.h    |  2 +
 12 files changed, 181 insertions(+), 43 deletions(-)
 create mode 100644 platform/linux-generic/include/odp/plat/barrier_types.h
 create mode 100644 platform/linux-generic/include/odp/plat/rwlock_types.h
 create mode 100644 platform/linux-generic/include/odp/plat/spinlock_types.h
 create mode 100644 platform/linux-generic/include/odp/plat/ticketlock_types.h

-- 
2.1.0


_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to