Add missing declarations of 64-bit variants of bus_peek/bus_poke on amd64.
It fixes GENERIC-KCSAN build. Reported by: rpokala MFC after: 1 month MFC with: r365899
This commit is contained in:
parent
2e3b7d8041
commit
88f7c52f31
@ -1102,6 +1102,9 @@ bus_space_barrier(bus_space_tag_t tag __unused, bus_space_handle_t bsh __unused,
|
||||
BUS_PEEK_FUNC(1, uint8_t)
|
||||
BUS_PEEK_FUNC(2, uint16_t)
|
||||
BUS_PEEK_FUNC(4, uint32_t)
|
||||
#ifdef __amd64__
|
||||
BUS_PEEK_FUNC(8, uint64_t)
|
||||
#endif
|
||||
|
||||
#define BUS_POKE_FUNC(width, type) \
|
||||
static inline int \
|
||||
@ -1114,6 +1117,9 @@ BUS_PEEK_FUNC(4, uint32_t)
|
||||
BUS_POKE_FUNC(1, uint8_t)
|
||||
BUS_POKE_FUNC(2, uint16_t)
|
||||
BUS_POKE_FUNC(4, uint32_t)
|
||||
#ifdef __amd64__
|
||||
BUS_POKE_FUNC(8, uint64_t)
|
||||
#endif
|
||||
|
||||
#endif /* KCSAN && !KCSAN_RUNTIME */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user