ticketlock: enable generic ticketlock on all arch

Let all architectures use generic ticketlock implementation.

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
This commit is contained in:
Joyce Kong 2019-03-25 19:11:08 +08:00 committed by Thomas Monjalon
parent 184104fc61
commit ca49b92079
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,22 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2019 Arm Limited
*/
#ifndef _RTE_TICKETLOCK_ARM_H_
#define _RTE_TICKETLOCK_ARM_H_
#ifndef RTE_FORCE_INTRINSICS
# error Platform must be built with CONFIG_RTE_FORCE_INTRINSICS
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include "generic/rte_ticketlock.h"
#ifdef __cplusplus
}
#endif
#endif /* _RTE_TICKETLOCK_ARM_H_ */

View File

@ -0,0 +1,18 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2019 Arm Limited
*/
#ifndef _RTE_TICKETLOCK_PPC_64_H_
#define _RTE_TICKETLOCK_PPC_64_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "generic/rte_ticketlock.h"
#ifdef __cplusplus
}
#endif
#endif /* _RTE_TICKETLOCK_PPC_64_H_ */

View File

@ -0,0 +1,18 @@
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2019 Arm Limited
*/
#ifndef _RTE_TICKETLOCK_X86_64_H_
#define _RTE_TICKETLOCK_X86_64_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "generic/rte_ticketlock.h"
#ifdef __cplusplus
}
#endif
#endif /* _RTE_TICKETLOCK_X86_64_H_ */