Skip to content

Commit 5e590e4

Browse files
kartbenjhedberg
authored andcommitted
Revert "arch: arc: add sys_write64/sys_read64 functions"
This reverts commit 3462a48 that was marked as hotfix and merged despite reservations from ARC maintainer Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 3462a48 commit 5e590e4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

include/zephyr/arch/arc/sys-io-common.h

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,6 @@ static ALWAYS_INLINE void sys_write32(uint32_t data, mem_addr_t addr)
7474
compiler_barrier();
7575
}
7676

77-
static ALWAYS_INLINE uint64_t sys_read64(mem_addr_t addr)
78-
{
79-
uint64_t value;
80-
81-
compiler_barrier();
82-
value = *(volatile uint64_t *)addr;
83-
compiler_barrier();
84-
85-
return value;
86-
}
87-
88-
static ALWAYS_INLINE void sys_write64(uint64_t data, mem_addr_t addr)
89-
{
90-
compiler_barrier();
91-
*(volatile uint64_t *)addr = data;
92-
compiler_barrier();
93-
}
94-
9577
#ifdef __cplusplus
9678
}
9779
#endif

0 commit comments

Comments
 (0)