summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaojin Tang <[email protected]>2025-09-01 12:58:57 +0800
committerR b b666 <[email protected]>2025-09-01 18:42:08 +0800
commitb27e405faa8616afda9ee8874416a36e9b6d3ba3 (patch)
treeaf7b868592ea38b119dd43b08630969899beb1e5
parent483117fa14612355960fa0fd353db6b1c47b3e9a (diff)
fix(riscv, cpp): remove `rt_hw_cpu_id` in `cpuport.h` to fix error
-rw-r--r--libcpu/risc-v/common64/cpuport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcpu/risc-v/common64/cpuport.h b/libcpu/risc-v/common64/cpuport.h
index 293f681c97..ef241ae260 100644
--- a/libcpu/risc-v/common64/cpuport.h
+++ b/libcpu/risc-v/common64/cpuport.h
@@ -43,8 +43,6 @@ rt_inline void rt_hw_isb(void)
__asm__ volatile(OPC_FENCE_I:::"memory");
}
-int rt_hw_cpu_id(void);
-
#endif
#endif