arch: Remove the "inline" keyword in ThreadInfo.
Methods which are defined inline are already implicitly inline, making that keyword redundant. It's also inconsistently used. Change-Id: If6ec3e94d126ae52d9c2f0d3e8ca27f1ac600650 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32920 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -71,7 +71,7 @@ class ThreadInfo
|
||||
~ThreadInfo()
|
||||
{}
|
||||
|
||||
inline Addr
|
||||
Addr
|
||||
curThreadInfo()
|
||||
{
|
||||
if (!TheISA::CurThreadInfoImplemented)
|
||||
@@ -89,7 +89,7 @@ class ThreadInfo
|
||||
return sp & ~ULL(0x3fff);
|
||||
}
|
||||
|
||||
inline Addr
|
||||
Addr
|
||||
curTaskInfo(Addr thread_info = 0)
|
||||
{
|
||||
// Note that in Linux 4.10 the thread_info struct will no longer have a
|
||||
|
||||
Reference in New Issue
Block a user