summaryrefslogtreecommitdiff
path: root/src/arch/power
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2014-08-13 06:57:29 -0400
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2014-08-13 06:57:29 -0400
commit8d04e32a834c28cea19d748bfe68d1aa0f593898 (patch)
treec590374e9caaaddcfa32f0b1e1ca63af0843d8d5 /src/arch/power
parent6b908211e635e70cb62f87d2f5f26ce019bb8b18 (diff)
downloadgem5-8d04e32a834c28cea19d748bfe68d1aa0f593898.tar.xz
power: Remove unused private members to fix compile-time warning
Certain versions of clang complain about unused private members if they are not used. This changeset removes such members from the POWER-specific ProcessInfo struct to silence the warning.
Diffstat (limited to 'src/arch/power')
-rw-r--r--src/arch/power/stacktrace.cc1
-rw-r--r--src/arch/power/stacktrace.hh9
2 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/power/stacktrace.cc b/src/arch/power/stacktrace.cc
index 5fcb6342c..315cf0ae5 100644
--- a/src/arch/power/stacktrace.cc
+++ b/src/arch/power/stacktrace.cc
@@ -38,7 +38,6 @@ using namespace std;
namespace PowerISA {
ProcessInfo::ProcessInfo(ThreadContext *_tc)
- : tc(_tc)
{
panic("ProcessInfo constructor not implemented.\n");
}
diff --git a/src/arch/power/stacktrace.hh b/src/arch/power/stacktrace.hh
index 72a66e5bd..65badad24 100644
--- a/src/arch/power/stacktrace.hh
+++ b/src/arch/power/stacktrace.hh
@@ -47,15 +47,6 @@ namespace PowerISA
class ProcessInfo
{
- private:
- ThreadContext *tc;
-
- int thread_info_size;
- int task_struct_size;
- int task_off;
- int pid_off;
- int name_off;
-
public:
ProcessInfo(ThreadContext *_tc);