aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/arch/mips64/odp/api/abi/cpu.h
blob: a6ce523d0d16b22281cfa09dedc0ee8190d6a8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright (c) 2016-2018, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */

#ifndef ODP_API_ABI_CPU_H_
#define ODP_API_ABI_CPU_H_

#ifdef __cplusplus
extern "C" {
#endif

#if defined __OCTEON__
#define ODP_CACHE_LINE_SIZE 128
#else
#error Please add support for your arch in cpu_arch.h
#endif

/* Inlined functions for non-ABI compat mode */
#include <odp/api/plat/cpu_inlines.h>

#ifdef __cplusplus
}
#endif

#endif