aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/arch/x86
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>2017-10-04 21:07:02 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-12-27 21:58:43 +0300
commit7c10aec5077c5acdf0169af664aa0a17a490ad8b (patch)
tree78d00446c2250b0742b3db220b9bae9563c97a1e /platform/linux-generic/arch/x86
parent35f6dbf2eb39ffb8c497983566925d642c23079a (diff)
linux-gen: update api-next to follow merged changes
There were changes in master branch on the way architecture files are treated. Update api-next after merging in master to follow those changes. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/arch/x86')
-rw-r--r--platform/linux-generic/arch/x86/odp_cpu.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/platform/linux-generic/arch/x86/odp_cpu.h b/platform/linux-generic/arch/x86/odp_cpu.h
deleted file mode 100644
index b5c89409b..000000000
--- a/platform/linux-generic/arch/x86/odp_cpu.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright (c) 2017, ARM Limited. All rights reserved.
- *
- * Copyright (c) 2017, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
-
-#ifndef ODP_X86_CPU_H_
-#define ODP_X86_CPU_H_
-
-/******************************************************************************
- * Atomics
- *****************************************************************************/
-
-#define atomic_store_release(loc, val, ro) \
- __atomic_store_n(loc, val, __ATOMIC_RELEASE)
-
-/******************************************************************************
- * Idle mgmt
- *****************************************************************************/
-
-static inline void sevl(void)
-{
- /* empty */
-}
-
-static inline int wfe(void)
-{
- return 1;
-}
-
-#define monitor128(addr, mo) __atomic_load_n((addr), (mo))
-#define monitor64(addr, mo) __atomic_load_n((addr), (mo))
-#define monitor32(addr, mo) __atomic_load_n((addr), (mo))
-#define monitor8(addr, mo) __atomic_load_n((addr), (mo))
-
-static inline void doze(void)
-{
- odp_cpu_pause();
-}
-
-#endif