summarylogtreecommitdiffstats
path: root/0007-Fix-missing-builtin-in-riscv.patch
blob: 5be7d1b2f018789febb668c0955058e5566072fe (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/include/my_cpu.h
+++ b/include/my_cpu.h
@@ -96,8 +96,6 @@
 #elif defined(_ARCH_PWR8)
   /* Changed from __ppc_get_timebase for musl and clang compatibility */
   __builtin_ppc_get_timebase();
-#elif defined __GNUC__ && defined __riscv
-  __builtin_riscv_pause();
 #elif defined __GNUC__
   /* Mainly, prevent the compiler from optimizing away delay loops */
   __asm__ __volatile__ ("":::"memory");