mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
nova: set invalid affinity space in thread constructor
Otherwise affinity space is set to 1x1 and in cpu_session_component.cc the cpu session local affinity space defined by parent is not taken because "Location::valid()" returns true. Issue #1107
This commit is contained in:
parent
b5fe1d752b
commit
93f06dd11a
@ -286,7 +286,7 @@ Weak_ptr<Address_space> Platform_thread::address_space()
|
||||
Platform_thread::Platform_thread(const char *name, unsigned, int thread_id)
|
||||
:
|
||||
_pd(0), _pager(0), _id_base(cap_map()->insert(1)),
|
||||
_sel_exc_base(Native_thread::INVALID_INDEX), _location(boot_cpu(), 0),
|
||||
_sel_exc_base(Native_thread::INVALID_INDEX), _location(boot_cpu(), 0, 0, 0),
|
||||
_features(0)
|
||||
{
|
||||
strncpy(_name, name, sizeof(_name));
|
||||
|
Loading…
x
Reference in New Issue
Block a user