From 81950ca8474511a536668e54f2db799624f4494f Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 14 Mar 2020 15:52:04 -0700 Subject: [PATCH] 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 --- util/m5/m5op_arm.S | 1 + util/m5/m5op_arm_A64.S | 1 + 2 files changed, 2 insertions(+) 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 -- 2.30.2