Replace setup with autosetup (cherry picked from commit 87c48c395331a249339c2e27c8abcc42f4d87a48)
26 lines
704 B
Diff
26 lines
704 B
Diff
From b1cbded1b30a77137984f2b6d13a513eaf58ab8a Mon Sep 17 00:00:00 2001
|
|
From: yueyuankun <yueyuankun@kylinos.cn>
|
|
Date: Wed, 12 Feb 2025 15:49:08 +0800
|
|
Subject: [PATCH] Fix conditional compilation for LoongArch architectures
|
|
|
|
---
|
|
include/urcu/arch.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/urcu/arch.h b/include/urcu/arch.h
|
|
index 71d7342..a96b8a6 100644
|
|
--- a/include/urcu/arch.h
|
|
+++ b/include/urcu/arch.h
|
|
@@ -173,7 +173,7 @@
|
|
#define URCU_ARCH_RISCV 1
|
|
#include <urcu/arch/riscv.h>
|
|
|
|
-#elif defined(__loongarch__) || (_loongarch64)
|
|
+#elif (defined(__loongarch__) || defined(_loongarch64))
|
|
|
|
#define URCU_ARCH_LOONGARCH 1
|
|
#include <urcu/arch/loongarch.h>
|
|
--
|
|
2.33.0
|
|
|