summaryrefslogtreecommitdiff
path: root/utils/MsgTask.cpp
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2016-02-04 10:06:28 -0800
committerKevin Tang <zhikait@codeaurora.org>2016-02-04 10:06:28 -0800
commitecb67363ee73c0374424795ae6014a794065f5ab (patch)
tree22dfb575611ebbcaf37dd7b74b84988c5c625c1e /utils/MsgTask.cpp
parent1aeb6bad84c0afd0e032c3d4d7e33959501e18f1 (diff)
Fix compilation issues for m_master merge into oe_master
Fixed compilation issues for M upgrade Change-Id: I602aa7c8a2db9682a1fe94b7ca892027281deec7
Diffstat (limited to 'utils/MsgTask.cpp')
-rw-r--r--utils/MsgTask.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/MsgTask.cpp b/utils/MsgTask.cpp
index f33d602..78a3fe0 100644
--- a/utils/MsgTask.cpp
+++ b/utils/MsgTask.cpp
@@ -33,6 +33,7 @@
#include <MsgTask.h>
#include <msg_q.h>
#include <loc_log.h>
+#include <platform_lib_includes.h>
static void LocMsgDestroy(void* msg) {
delete (LocMsg*)msg;
@@ -77,7 +78,7 @@ void MsgTask::sendMsg(const LocMsg* msg) const {
void MsgTask::prerun() {
// make sure we do not run in background scheduling group
- set_sched_policy(gettid(), SP_FOREGROUND);
+ platform_lib_abstraction_set_sched_policy(platform_lib_abstraction_gettid(), PLA_SP_FOREGROUND);
}
bool MsgTask::run() {