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:
Gabe Black
2020-08-19 02:05:59 -07:00
parent fff5b8e745
commit 345b17af20

View File

@@ -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