summaryrefslogtreecommitdiff
path: root/cpu/o3/alpha_cpu.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-03-10 16:26:31 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-03-10 16:26:31 -0500
commit68d7382cf37a3f765a7cc650fcef04fb1548fa39 (patch)
treedf11fec7d7434ed60804bf367904215dfb45dfcc /cpu/o3/alpha_cpu.hh
parente3d96aa889680469be44bb9cd59d3db837cb4dc4 (diff)
downloadgem5-68d7382cf37a3f765a7cc650fcef04fb1548fa39.tar.xz
Eliminated TARGET_ALPHA, since THE_ISA provides the same function.
--HG-- extra : convert_revision : eb173a553b0782891e8b4a8e227bfb647390883a
Diffstat (limited to 'cpu/o3/alpha_cpu.hh')
-rw-r--r--cpu/o3/alpha_cpu.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/o3/alpha_cpu.hh b/cpu/o3/alpha_cpu.hh
index 0352e9972..8e1e0f42a 100644
--- a/cpu/o3/alpha_cpu.hh
+++ b/cpu/o3/alpha_cpu.hh
@@ -208,7 +208,7 @@ class AlphaFullCPU : public FullO3CPU<Impl>
template <class T>
Fault read(MemReqPtr &req, T &data)
{
-#if FULL_SYSTEM && defined(TARGET_ALPHA)
+#if FULL_SYSTEM && THE_ISA == ALPHA_ISA
if (req->flags & LOCKED) {
req->xc->setMiscReg(TheISA::Lock_Addr_DepTag, req->paddr);
req->xc->setMiscReg(TheISA::Lock_Flag_DepTag, true);
@@ -230,7 +230,7 @@ class AlphaFullCPU : public FullO3CPU<Impl>
template <class T>
Fault write(MemReqPtr &req, T &data)
{
-#if FULL_SYSTEM && defined(TARGET_ALPHA)
+#if FULL_SYSTEM && THE_ISA == ALPHA_ISA
ExecContext *xc;
// If this is a store conditional, act appropriately