Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions libcpu/risc-v/common64/cpuport.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#include <rtconfig.h>
#include <opcode.h>

#ifndef __ASSEMBLY__

#ifdef RT_USING_SMP
typedef union {
unsigned long slock;
Expand All @@ -24,8 +26,7 @@ typedef union {
} rt_hw_spinlock_t;
#endif

#ifndef __ASSEMBLY__
#include <rtdef.h>
#include <rtcompiler.h>

rt_inline void rt_hw_dsb(void)
{
Expand Down