From: Gabe Black Date: Wed, 19 Aug 2020 08:51:48 +0000 (-0700) Subject: arch: Fix a small style issue in Linux::ThreadInfo. X-Git-Tag: v20.1.0.0~276 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0f4489220ce2f477e17f8552119f56060d42cd0;p=gem5.git 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 Reviewed-by: Hoa Nguyen Maintainer: Andreas Sandberg Tested-by: kokoro --- diff --git a/src/arch/generic/linux/threadinfo.hh b/src/arch/generic/linux/threadinfo.hh index a15670d81..8e039ae2e 100644 --- a/src/arch/generic/linux/threadinfo.hh +++ b/src/arch/generic/linux/threadinfo.hh @@ -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;