Skip to content

Commit 7d2151e

Browse files
muhomorrthestinger
authored andcommitted
mte: remove util.h dependency from arm_mte.h
It's needed for including arm_mte.h into memtag_test.cc
1 parent 4756716 commit 7d2151e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arm_mte.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
#define ARM_MTE_H
33

44
#include <arm_acle.h>
5-
#include <util.h>
5+
#include <stdint.h>
66

77
// Returns a tagged pointer.
88
// See https://developer.arm.com/documentation/ddi0602/2023-09/Base-Instructions/IRG--Insert-Random-Tag-
9-
static inline void *arm_mte_create_random_tag(void *p, u64 exclusion_mask) {
9+
static inline void *arm_mte_create_random_tag(void *p, uint64_t exclusion_mask) {
1010
return __arm_mte_create_random_tag(p, exclusion_mask);
1111
}
1212

0 commit comments

Comments
 (0)