From: Gabe Black Date: Sat, 14 Mar 2020 22:52:04 +0000 (-0700) Subject: util: Undef M5OP at the end of assembly files that use M5OP_FOREACH. X-Git-Tag: v20.0.0.0~226 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81950ca8474511a536668e54f2db799624f4494f;p=gem5.git 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 Reviewed-by: Daniel Carvalho Reviewed-by: Giacomo Travaglini Maintainer: Bobby R. Bruce --- diff --git a/util/m5/m5op_arm.S b/util/m5/m5op_arm.S index b4f7fb3cc..bd3bb4dc6 100644 --- a/util/m5/m5op_arm.S +++ b/util/m5/m5op_arm.S @@ -62,3 +62,4 @@ .text #define M5OP(name, func) m5op_func name, func M5OP_FOREACH +#undef M5OP diff --git a/util/m5/m5op_arm_A64.S b/util/m5/m5op_arm_A64.S index 011da0af6..c0224e21b 100644 --- a/util/m5/m5op_arm_A64.S +++ b/util/m5/m5op_arm_A64.S @@ -61,3 +61,4 @@ .text #define M5OP(name, func) m5op_func name, func M5OP_FOREACH +#undef M5OP