Remove SMP_MSG_RESCHEDULE_IF_IDLE as it is not used anymore.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2009-08-21 16:14:18 +00:00
parent 861b223cf2
commit 29bd9bfd7d
2 changed files with 1 additions and 12 deletions

View File

@ -22,8 +22,7 @@ enum {
SMP_MSG_GLOBAL_INVALIDATE_PAGES,
SMP_MSG_CPU_HALT,
SMP_MSG_CALL_FUNCTION,
SMP_MSG_RESCHEDULE,
SMP_MSG_RESCHEDULE_IF_IDLE
SMP_MSG_RESCHEDULE
};
enum {

View File

@ -634,16 +634,6 @@ process_pending_ici(int32 currentCPU)
case SMP_MSG_RESCHEDULE:
thread_get_current_thread()->cpu->invoke_scheduler = true;
break;
case SMP_MSG_RESCHEDULE_IF_IDLE:
{
// TODO: We must not dereference the thread when entering the kernel
// debugger from a double fault.
struct thread* thread = thread_get_current_thread();
if (thread->priority == B_IDLE_PRIORITY)
thread->cpu->invoke_scheduler = true;
break;
}
default:
dprintf("smp_intercpu_int_handler: got unknown message %ld\n", msg->message);
}