misc: Fix nesting of namespace{} and if-endif.

Fix a build error caused by the misaligned nesting of namespace{} and
if-endif. Previously, if HAVE_TUNTAP is not defined then the gem5
namespace is not closed.

Change-Id: I5e45d2271f97bb9e38c91565adb6aff0a7b43744
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/47761
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Richard Cooper
2021-07-05 16:22:51 +01:00
parent 704ef29f4f
commit 04a4fb53ad

View File

@@ -472,6 +472,6 @@ EtherTap::sendReal(const void *data, size_t len)
return true;
}
} // namespace gem5
#endif // HAVE_TUNTAP
#endif
} // namespace gem5