Refactor location of DefaultAffinity().
Change-Id: I5fbebefb6db8fc2b65da0e4d87f5d7ed8c759918
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/event_loop.cc b/aos/events/event_loop.cc
index 257313b..6b5b601 100644
--- a/aos/events/event_loop.cc
+++ b/aos/events/event_loop.cc
@@ -3,6 +3,7 @@
#include "aos/configuration.h"
#include "aos/configuration_generated.h"
#include "aos/logging/implementations.h"
+#include "aos/realtime.h"
#include "glog/logging.h"
DEFINE_bool(timing_reports, true, "Publish timing reports.");
@@ -622,6 +623,8 @@
context_.source_boot_uuid = boot_uuid();
}
+cpu_set_t EventLoop::DefaultAffinity() { return aos::DefaultAffinity(); }
+
void WatcherState::set_timing_report(timing::Watcher *watcher) {
watcher_ = watcher;
if (!watcher) {