changeset c706f4ab5dd7 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c706f4ab5dd7
description:
syscall_emul: [patch 9/22] remove unused global variable (num_processes)
diffstat:
src/arch/sparc/process.cc | 2 --
src/arch/x86/process.cc | 2 --
src/sim/process.cc | 3 ---
3 files changed, 0 insertions(+), 7 deletions(-)
diffs (37 lines):
diff -r 0e94e16e26ea -r c706f4ab5dd7 src/arch/sparc/process.cc
--- a/src/arch/sparc/process.cc Wed Nov 09 14:27:41 2016 -0600
+++ b/src/arch/sparc/process.cc Wed Nov 09 14:27:42 2016 -0600
@@ -415,8 +415,6 @@
// Align the "stack_min" to a page boundary.
stack_min = roundDown(stack_min, pageSize);
-
-// num_processes++;
}
void
diff -r 0e94e16e26ea -r c706f4ab5dd7 src/arch/x86/process.cc
--- a/src/arch/x86/process.cc Wed Nov 09 14:27:41 2016 -0600
+++ b/src/arch/x86/process.cc Wed Nov 09 14:27:42 2016 -0600
@@ -1031,8 +1031,6 @@
//Align the "stack_min" to a page boundary.
stack_min = roundDown(stack_min, pageSize);
-
-// num_processes++;
}
void
diff -r 0e94e16e26ea -r c706f4ab5dd7 src/sim/process.cc
--- a/src/sim/process.cc Wed Nov 09 14:27:41 2016 -0600
+++ b/src/sim/process.cc Wed Nov 09 14:27:42 2016 -0600
@@ -90,9 +90,6 @@
using namespace std;
using namespace TheISA;
-// current number of allocated processes
-int num_processes = 0;
-
static int
openFile(const string& filename, int flags, mode_t mode)
{
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev