hw: don't use assert in Kernel::update_pd

ref #1101
This commit is contained in:
Martin Stein 2014-03-17 00:59:31 +01:00 committed by Norman Feske
parent dbad6f7061
commit ea156e18ec
1 changed files with 6 additions and 1 deletions

View File

@ -603,7 +603,12 @@ void Thread::_call_access_thread_regs()
void Thread::_call_update_pd()
{
assert(_core());
/* check permissions */
if (!_core()) {
PWRN("not entitled to update domain");
return;
}
/* update hardware caches */
Processor::flush_tlb_by_pid(user_arg_1());
}