hw: remove useless argument of Thread::_call

ref #1108
This commit is contained in:
Martin Stein 2014-03-26 11:00:01 +01:00 committed by Norman Feske
parent 8f9d4737a6
commit ebfd6a55b3
2 changed files with 3 additions and 5 deletions

View File

@ -222,7 +222,7 @@ void Thread::exception(unsigned const processor_id)
{
switch (cpu_exception) {
case SUPERVISOR_CALL:
_call(processor_id);
_call();
return;
case PREFETCH_ABORT:
_mmu_exception();
@ -875,7 +875,7 @@ int Thread::_write_reg(addr_t const id, addr_t const value)
}
void Thread::_call(unsigned const processor_id)
void Thread::_call()
{
/* switch over unrestricted kernel calls */
unsigned const call_id = user_arg_0();

View File

@ -165,10 +165,8 @@ class Kernel::Thread
/**
* Handle kernel-call request of the thread
*
* \param processor_id kernel name of the trapped processor
*/
void _call(unsigned const processor_id);
void _call();
/**
* Read a thread register