aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/thread.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-01-26 16:57:56 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-01-29 22:54:30 +0300
commitfdae7a0f9b597289579463c5464877c307d9c318 (patch)
treee94d18efca7d322379a42d62ea0e3aa702345c48 /include/odp/api/thread.h
parente98c15a9d2ee9d1dd21e3d6c3d9829581d8328c0 (diff)
linux-gen: thread: inline thread and cpu id
Inline thread and cpu id functions as application may use those often. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/thread.h')
-rw-r--r--include/odp/api/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/odp/api/thread.h b/include/odp/api/thread.h
index 85af314be..d11c1671a 100644
--- a/include/odp/api/thread.h
+++ b/include/odp/api/thread.h
@@ -17,6 +17,8 @@
extern "C" {
#endif
+#include <odp/api/spec/thread_types.h>
+
#include <odp/api/abi/thread.h>
#include <odp/api/spec/thread.h>