Projects
openEuler:24.03:SP1:Everything
libev
_service:tar_scm:libev-Add-sw64-architecture.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:libev-Add-sw64-architecture.patch of Package libev
From 80f458d8989742585efbab700555601cbb231cf4 Mon Sep 17 00:00:00 2001 From: wuzx <wuzx1226@qq.com> Date: Fri, 18 Nov 2022 12:40:11 +0800 Subject: [PATCH] Add sw64 architecture Add sw64 architecture in file ev.c to support sw64 architecture according to alpha architecture. Signed-off-by: wuzx <wuzx1226@qq.com> --- ev.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ev.c b/ev.c index ec212a1..20fc6a2 100644 --- a/ev.c +++ b/ev.c @@ -493,7 +493,7 @@ #if EV_USE_IOURING # include <sys/syscall.h> -# if !SYS_io_uring_setup && __linux && !__alpha +# if !SYS_io_uring_setup && __linux && !__alpha && !__sw_64 # define SYS_io_uring_setup 425 # define SYS_io_uring_enter 426 # define SYS_io_uring_wregister 427 @@ -826,6 +826,8 @@ struct signalfd_siginfo /* GNU/Linux emulates sync on mips1 architectures, so we force its use */ /* anybody else who still uses mips1 is supposed to send in their version, with detection code. */ #define ECB_MEMORY_FENCE __asm__ __volatile__ (".set mips2; sync; .set mips0" : : : "memory") + #elif defined __sw_64__ + #define ECB_MEMORY_FENCE __asm__ __volatile__ ("memb" : : : "memory") #elif defined __alpha__ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("mb" : : : "memory") #elif defined __hppa__ @@ -1550,6 +1552,7 @@ ecb_binary32_to_binary16 (uint32_t x) || defined __s390__ || defined __s390x__ \ || defined __mips__ \ || defined __alpha__ \ + || defined __sw_64__ \ || defined __hppa__ \ || defined __ia64__ \ || defined __m68k__ \ -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2