kernel/scheduler: Remove "inline" attribute from PeekThread.
This will allow it to be invoked outside scheduler_cpu.cpp, and GCC should automatically inline this function within that file anyway. No functional change intended.
This commit is contained in:
parent
0f635f9bbc
commit
bad677be5b
@ -152,7 +152,7 @@ CPUEntry::Remove(ThreadData* thread)
|
||||
}
|
||||
|
||||
|
||||
inline ThreadData*
|
||||
ThreadData*
|
||||
CoreEntry::PeekThread() const
|
||||
{
|
||||
SCHEDULER_ENTER_FUNCTION();
|
||||
@ -160,7 +160,7 @@ CoreEntry::PeekThread() const
|
||||
}
|
||||
|
||||
|
||||
inline ThreadData*
|
||||
ThreadData*
|
||||
CPUEntry::PeekThread() const
|
||||
{
|
||||
SCHEDULER_ENTER_FUNCTION();
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
void PushBack(ThreadData* thread,
|
||||
int32 priority);
|
||||
void Remove(ThreadData* thread);
|
||||
inline ThreadData* PeekThread() const;
|
||||
ThreadData* PeekThread() const;
|
||||
ThreadData* PeekIdleThread() const;
|
||||
|
||||
void UpdatePriority(int32 priority);
|
||||
@ -147,7 +147,7 @@ public:
|
||||
void PushBack(ThreadData* thread,
|
||||
int32 priority);
|
||||
void Remove(ThreadData* thread);
|
||||
inline ThreadData* PeekThread() const;
|
||||
ThreadData* PeekThread() const;
|
||||
|
||||
inline bigtime_t GetActiveTime() const;
|
||||
inline void IncreaseActiveTime(
|
||||
|
Loading…
Reference in New Issue
Block a user