Fix formatting and comments in cache_impl.hh
authorSteve Reinhardt <stever@gmail.com>
Wed, 2 Jan 2008 20:15:48 +0000 (12:15 -0800)
committerSteve Reinhardt <stever@gmail.com>
Wed, 2 Jan 2008 20:15:48 +0000 (12:15 -0800)
--HG--
extra : convert_revision : 26d71cca5420ad03e16bf174e15dabe7f902da41

src/mem/cache/cache_impl.hh

index 61846e23318d089d267018e56e132eac0b07cb62..55301ecb5f8e5dce90926443038421eb7c79acc5 100644 (file)
@@ -919,7 +919,7 @@ Cache<TagStore>::doTimingSupplyResponse(PacketPtr req_pkt,
     PacketPtr pkt = already_copied ? req_pkt : new Packet(req_pkt, true);
     if (!req_pkt->isInvalidate()) {
         // note that we're ignoring the shared flag on req_pkt... it's
-        // basically irrelveant, as we'll always assert shared unless
+        // basically irrelevant, as we'll always assert shared unless
         // it's an exclusive request, in which case the shared line
         // should never be asserted1
         pkt->assertShared();
@@ -1056,7 +1056,7 @@ Cache<TagStore>::snoopTiming(PacketPtr pkt)
                 pkt->getAddr());
 
         //Look through writebacks for any non-uncachable writes, use that
-        for (int i=0; i<writebacks.size(); i++) {
+        for (int i = 0; i < writebacks.size(); i++) {
             mshr = writebacks[i];
             assert(!mshr->isUncacheable());
             assert(mshr->getNumTargets() == 1);