summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/asm-prototypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/asm-prototypes.h')
-rw-r--r--arch/loongarch/include/asm/asm-prototypes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/asm-prototypes.h b/arch/loongarch/include/asm/asm-prototypes.h
index cf8e1a4e7c..51f224bcfc 100644
--- a/arch/loongarch/include/asm/asm-prototypes.h
+++ b/arch/loongarch/include/asm/asm-prototypes.h
@@ -6,3 +6,9 @@
#include <asm/page.h>
#include <asm/ftrace.h>
#include <asm-generic/asm-prototypes.h>
+
+#ifdef CONFIG_ARCH_SUPPORTS_INT128
+__int128_t __ashlti3(__int128_t a, int b);
+__int128_t __ashrti3(__int128_t a, int b);
+__int128_t __lshrti3(__int128_t a, int b);
+#endif