mte: remove util.h dependency from arm_mte.h
It's needed for including arm_mte.h into memtag_test.ccpull/242/head
parent
4756716904
commit
7d2151e40c
|
@ -2,11 +2,11 @@
|
||||||
#define ARM_MTE_H
|
#define ARM_MTE_H
|
||||||
|
|
||||||
#include <arm_acle.h>
|
#include <arm_acle.h>
|
||||||
#include <util.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
// Returns a tagged pointer.
|
// Returns a tagged pointer.
|
||||||
// See https://developer.arm.com/documentation/ddi0602/2023-09/Base-Instructions/IRG--Insert-Random-Tag-
|
// 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);
|
return __arm_mte_create_random_tag(p, exclusion_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue