From 7d2151e40c2b5b282f1ba75285c3493543a5ce9a Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Tue, 23 Jan 2024 13:32:49 +0200 Subject: [PATCH] mte: remove util.h dependency from arm_mte.h It's needed for including arm_mte.h into memtag_test.cc --- arm_mte.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm_mte.h b/arm_mte.h index ea3445e..5ed900d 100644 --- a/arm_mte.h +++ b/arm_mte.h @@ -2,11 +2,11 @@ #define ARM_MTE_H #include -#include +#include // Returns a tagged pointer. // See https://developer.arm.com/documentation/ddi0602/2023-09/Base-Instructions/IRG--Insert-Random-Tag- -static inline void *arm_mte_create_random_tag(void *p, u64 exclusion_mask) { +static inline void *arm_mte_create_random_tag(void *p, uint64_t exclusion_mask) { return __arm_mte_create_random_tag(p, exclusion_mask); }