Fix location setting in affinity test

This fixes a regression introduced by me in
16914bddc8.
This commit is contained in:
Christian Helmuth 2017-07-27 15:53:53 +02:00
parent e8c8776959
commit 132748a783

View File

@ -58,7 +58,7 @@ struct Spinning_thread : Genode::Thread
Spinning_thread(Genode::Env &env, Location location)
:
Genode::Thread(env, Name("spinning_thread"), STACK_SIZE, Location(),
Genode::Thread(env, Name("spinning_thread"), STACK_SIZE, location,
Weight(), env.cpu()),
_location(location), cnt(0ULL), barrier(Genode::Lock::LOCKED)
{