summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/o3/cpu.cc2
-rw-r--r--src/cpu/o3/cpu.hh6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc
index 04f344930..1b7a3a17c 100644
--- a/src/cpu/o3/cpu.cc
+++ b/src/cpu/o3/cpu.cc
@@ -62,7 +62,7 @@ class BaseCPUParams;
using namespace TheISA;
BaseO3CPU::BaseO3CPU(BaseCPUParams *params)
- : BaseCPU(params), cpu_id(0)
+ : BaseCPU(params), cpuId(0)
{
}
diff --git a/src/cpu/o3/cpu.hh b/src/cpu/o3/cpu.hh
index 8cfc9affa..d1cc8bea5 100644
--- a/src/cpu/o3/cpu.hh
+++ b/src/cpu/o3/cpu.hh
@@ -76,13 +76,13 @@ class BaseO3CPU : public BaseCPU
void regStats();
/** Sets this CPU's ID. */
- void setCpuId(int id) { cpu_id = id; }
+ void setCpuId(int id) { cpuId = id; }
/** Reads this CPU's ID. */
- int readCpuId() { return cpu_id; }
+ int readCpuId() { return cpuId; }
protected:
- int cpu_id;
+ int cpuId;
};
/**