summaryrefslogtreecommitdiff
path: root/src/kern
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2011-01-03 14:35:43 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2011-01-03 14:35:43 -0800
commitc69d48f007d2521fdbea52a0a7a95cfc4a547174 (patch)
tree59a866d2f48310090b5dd18dad0095029314cb6f /src/kern
parent1a10ccc5e551857fc3a7c049df99547ccfe3f72b (diff)
downloadgem5-c69d48f007d2521fdbea52a0a7a95cfc4a547174.tar.xz
Make commenting on close namespace brackets consistent.
Ran all the source files through 'perl -pi' with this script: s|\s*(};?\s*)?/\*\s*(end\s*)?namespace\s*(\S+)\s*\*/(\s*})?|} // namespace $3|; s|\s*};?\s*//\s*(end\s*)?namespace\s*(\S+)\s*|} // namespace $2\n|; s|\s*};?\s*//\s*(\S+)\s*namespace\s*|} // namespace $1\n|; Also did a little manual editing on some of the arch/*/isa_traits.hh files and src/SConscript.
Diffstat (limited to 'src/kern')
-rw-r--r--src/kern/kernel_stats.cc2
-rw-r--r--src/kern/kernel_stats.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kern/kernel_stats.cc b/src/kern/kernel_stats.cc
index 29c77b3d9..aa9342a13 100644
--- a/src/kern/kernel_stats.cc
+++ b/src/kern/kernel_stats.cc
@@ -139,4 +139,4 @@ Statistics::unserialize(Checkpoint *cp, const string &section)
UNSERIALIZE_SCALAR(iplLastTick);
}
-/* end namespace Kernel */ }
+} // namespace Kernel
diff --git a/src/kern/kernel_stats.hh b/src/kern/kernel_stats.hh
index cd3c12d47..5395b3337 100644
--- a/src/kern/kernel_stats.hh
+++ b/src/kern/kernel_stats.hh
@@ -85,6 +85,6 @@ class Statistics : public Serializable
virtual void unserialize(Checkpoint *cp, const std::string &section);
};
-/* end namespace Kernel */ }
+} // namespace Kernel
#endif // __KERNEL_STATS_HH__