summaryrefslogtreecommitdiff
path: root/src/cpu/o3/commit_impl.hh
diff options
context:
space:
mode:
authorMatt Horsnell <matt.horsnell@ARM.com>2013-10-17 10:20:45 -0500
committerMatt Horsnell <matt.horsnell@ARM.com>2013-10-17 10:20:45 -0500
commit6decd70bfbc5eb877e4d897ee3d71d478b564f2d (patch)
tree95c55bcbc5c6641a27365082650c32edddbbce4d /src/cpu/o3/commit_impl.hh
parent52f90890a3f1d3a6485fe3804c1de6af654efbc6 (diff)
downloadgem5-6decd70bfbc5eb877e4d897ee3d71d478b564f2d.tar.xz
cpu: add consistent guarding to *_impl.hh files.
Diffstat (limited to 'src/cpu/o3/commit_impl.hh')
-rw-r--r--src/cpu/o3/commit_impl.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/o3/commit_impl.hh b/src/cpu/o3/commit_impl.hh
index 2c1c9fef2..becdfd06c 100644
--- a/src/cpu/o3/commit_impl.hh
+++ b/src/cpu/o3/commit_impl.hh
@@ -40,6 +40,8 @@
* Authors: Kevin Lim
* Korey Sewell
*/
+#ifndef __CPU_O3_COMMIT_IMPL_HH__
+#define __CPU_O3_COMMIT_IMPL_HH__
#include <algorithm>
#include <set>
@@ -1540,3 +1542,5 @@ DefaultCommit<Impl>::oldestReady()
return InvalidThreadID;
}
}
+
+#endif//__CPU_O3_COMMIT_IMPL_HH__