util: Undef M5OP at the end of assembly files that use M5OP_FOREACH.
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>
This commit is contained in:
@@ -62,3 +62,4 @@
|
||||
.text
|
||||
#define M5OP(name, func) m5op_func name, func
|
||||
M5OP_FOREACH
|
||||
#undef M5OP
|
||||
|
||||
@@ -61,3 +61,4 @@
|
||||
.text
|
||||
#define M5OP(name, func) m5op_func name, func
|
||||
M5OP_FOREACH
|
||||
#undef M5OP
|
||||
|
||||
Reference in New Issue
Block a user