util: Undef M5OP at the end of assembly files that use M5OP_FOREACH.
authorGabe Black <gabeblack@google.com>
Sat, 14 Mar 2020 22:52:04 +0000 (15:52 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 1 Apr 2020 11:58:06 +0000 (11:58 +0000)
This may not be necessary since M5OP is defined/used at the end of the
function, but it's best to clean up after ourselves.

Change-Id: I524d92cb8dc44c6004dfa8109f3b17f56dba763e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27206
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>

util/m5/m5op_arm.S
util/m5/m5op_arm_A64.S

index b4f7fb3ccaa99a43e6631648a5f5b3a9f1ac2e99..bd3bb4dc618385ec91273ac3efac15620062b90d 100644 (file)
@@ -62,3 +62,4 @@
 .text
 #define M5OP(name, func) m5op_func name, func
         M5OP_FOREACH
+#undef M5OP
index 011da0af6cd2fcbd59e342810916530981e62e4a..c0224e21b0d839baf1dc13b1b5aa3732208e8bcd 100644 (file)
@@ -61,3 +61,4 @@
 .text
 #define M5OP(name, func) m5op_func name, func
         M5OP_FOREACH
+#undef M5OP