From: Yi Xiang Date: Wed, 9 Mar 2011 05:43:11 +0000 (-0800) Subject: Alpha: Fix the datatypes of some values read from the simulated kernel. X-Git-Tag: stable_2012_02_02~483 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7b55088756c2e26a7fd6375c08689cfdfa1ed33;p=gem5.git Alpha: Fix the datatypes of some values read from the simulated kernel. --- diff --git a/src/arch/alpha/linux/threadinfo.hh b/src/arch/alpha/linux/threadinfo.hh index db723bed3..6144cb773 100644 --- a/src/arch/alpha/linux/threadinfo.hh +++ b/src/arch/alpha/linux/threadinfo.hh @@ -103,7 +103,7 @@ class ThreadInfo int32_t curTaskPID(Addr thread_info = 0) { - Addr offset; + int32_t offset; if (!get_data("task_struct_pid", offset)) return -1; @@ -116,7 +116,7 @@ class ThreadInfo int64_t curTaskStart(Addr thread_info = 0) { - Addr offset; + int32_t offset; if (!get_data("task_struct_start_time", offset)) return -1;