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:
@@ -152,7 +152,7 @@ CPUEntry::Remove(ThreadData* thread)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline ThreadData*
|
ThreadData*
|
||||||
CoreEntry::PeekThread() const
|
CoreEntry::PeekThread() const
|
||||||
{
|
{
|
||||||
SCHEDULER_ENTER_FUNCTION();
|
SCHEDULER_ENTER_FUNCTION();
|
||||||
@@ -160,7 +160,7 @@ CoreEntry::PeekThread() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline ThreadData*
|
ThreadData*
|
||||||
CPUEntry::PeekThread() const
|
CPUEntry::PeekThread() const
|
||||||
{
|
{
|
||||||
SCHEDULER_ENTER_FUNCTION();
|
SCHEDULER_ENTER_FUNCTION();
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ public:
|
|||||||
void PushBack(ThreadData* thread,
|
void PushBack(ThreadData* thread,
|
||||||
int32 priority);
|
int32 priority);
|
||||||
void Remove(ThreadData* thread);
|
void Remove(ThreadData* thread);
|
||||||
inline ThreadData* PeekThread() const;
|
ThreadData* PeekThread() const;
|
||||||
ThreadData* PeekIdleThread() const;
|
ThreadData* PeekIdleThread() const;
|
||||||
|
|
||||||
void UpdatePriority(int32 priority);
|
void UpdatePriority(int32 priority);
|
||||||
@@ -147,7 +147,7 @@ public:
|
|||||||
void PushBack(ThreadData* thread,
|
void PushBack(ThreadData* thread,
|
||||||
int32 priority);
|
int32 priority);
|
||||||
void Remove(ThreadData* thread);
|
void Remove(ThreadData* thread);
|
||||||
inline ThreadData* PeekThread() const;
|
ThreadData* PeekThread() const;
|
||||||
|
|
||||||
inline bigtime_t GetActiveTime() const;
|
inline bigtime_t GetActiveTime() const;
|
||||||
inline void IncreaseActiveTime(
|
inline void IncreaseActiveTime(
|
||||||
|
|||||||
Reference in New Issue
Block a user