Gabe Black has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/32918 )
Change subject: arch: Fix a small style issue in Linux::ThreadInfo.
......................................................................
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 <[email protected]>
Reviewed-by: Hoa Nguyen <[email protected]>
Maintainer: Andreas Sandberg <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/arch/generic/linux/threadinfo.hh
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Andreas Sandberg: Looks good to me, approved; Looks good to me, approved
Hoa Nguyen: Looks good to me, approved
kokoro: Regressions pass
diff --git a/src/arch/generic/linux/threadinfo.hh
b/src/arch/generic/linux/threadinfo.hh
index a15670d..8e039ae 100644
--- a/src/arch/generic/linux/threadinfo.hh
+++ b/src/arch/generic/linux/threadinfo.hh
@@ -103,7 +103,8 @@
}
int32_t
- curTaskPIDFromTaskStruct(Addr task_struct) {
+ curTaskPIDFromTaskStruct(Addr task_struct)
+ {
int32_t offset = 0;
if (!get_data("task_struct_pid", offset))
return -1;
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32918
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I7f6f938f9412e535df0cbc0687ec9f2de2dbf8e3
Gerrit-Change-Number: 32918
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Hoa Nguyen <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s