summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:42 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:42 -0600
commit6c41181b8e39e776ea2f018bf383fed2782c3d4a (patch)
tree49200e2a407754ef2ae9ecc4b63de98348ae7c20 /src/arch
parent49009f170a631eea259dc031b3ce4593f8783d19 (diff)
downloadgem5-6c41181b8e39e776ea2f018bf383fed2782c3d4a.tar.xz
syscall_emul: [patch 9/22] remove unused global variable (num_processes)
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/process.cc2
-rw-r--r--src/arch/x86/process.cc2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index 121f2f710..5c4f43b67 100644
--- a/src/arch/sparc/process.cc
+++ b/src/arch/sparc/process.cc
@@ -415,8 +415,6 @@ SparcProcess::argsInit(int pageSize)
// Align the "stack_min" to a page boundary.
stack_min = roundDown(stack_min, pageSize);
-
-// num_processes++;
}
void
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index 245fbebf4..dfbd41e4e 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -1031,8 +1031,6 @@ X86Process::argsInit(int pageSize,
//Align the "stack_min" to a page boundary.
stack_min = roundDown(stack_min, pageSize);
-
-// num_processes++;
}
void