From c0f4489220ce2f477e17f8552119f56060d42cd0 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 19 Aug 2020 01:51:48 -0700 Subject: [PATCH] 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 --- src/arch/generic/linux/threadinfo.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2