arch: Fix a small style issue in Linux::ThreadInfo.
authorGabe Black <gabeblack@google.com>
Wed, 19 Aug 2020 08:51:48 +0000 (01:51 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Aug 2020 01:08:54 +0000 (01:08 +0000)
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>
src/arch/generic/linux/threadinfo.hh

index a15670d8197d94d68474e4042ed6149dfa36eb94..8e039ae2eed4bfd480e0e958cf307f38ffba73c5 100644 (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;