arch: Fix a small style issue in Linux::ThreadInfo.

Change-Id: I7f6f938f9412e535df0cbc0687ec9f2de2dbf8e3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32918
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2020-08-19 01:51:48 -07:00
parent 6add4fbc12
commit c0f4489220

View File

@@ -103,7 +103,8 @@ class ThreadInfo
}
int32_t
curTaskPIDFromTaskStruct(Addr task_struct) {
curTaskPIDFromTaskStruct(Addr task_struct)
{
int32_t offset = 0;
if (!get_data("task_struct_pid", offset))
return -1;