Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
dapl.7727
dapl-s390.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dapl-s390.patch of Package dapl.7727
--- dapl/udapl/linux/dapl_osd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: dapl/udapl/linux/dapl_osd.h =================================================================== --- dapl/udapl/linux/dapl_osd.h.orig 2016-03-10 14:56:57.000000000 +0100 +++ dapl/udapl/linux/dapl_osd.h 2016-03-10 18:28:46.909424533 +0100 @@ -51,7 +51,7 @@ #if !defined (__i386__) && !defined (__ia64__) && !defined(__x86_64__) && \ !defined(__PPC__) && !defined(__PPC64__) && !defined(__s390x__) && \ - !defined(__aarch64__) + !defined(__aarch64__) && !defined(__s390__) #error UNDEFINED ARCH #endif @@ -160,7 +160,7 @@ int dapl_os_get_env_val ( /* atomic functions */ -#ifdef __s390x__ +#if defined(__s390x__) || defined(__s390__) #define DAPL_CS_ADD(ptr, op_val) ({ \ int old_val, new_val; \ __asm__ __volatile__( \ @@ -199,7 +199,7 @@ dapl_os_atomic_inc ( #else IA64_FETCHADD(old_value,v,1,4); #endif -#elif defined(__s390x__) +#elif defined(__s390x__) || defined(__s390__) DAT_COUNT tmp; DAT_COUNT delta = 1; @@ -245,7 +245,7 @@ dapl_os_atomic_dec ( #else IA64_FETCHADD(old_value,v,-1,4); #endif -#elif defined(__s390x__) +#elif defined(__s390x__) || defined(__s390__) DAT_COUNT tmp; DAT_COUNT delta = -1; @@ -307,7 +307,7 @@ dapl_os_atomic_assign ( #else current_value = ia64_cmpxchg(acq,v,match_value,new_value,4); #endif /* __ia64__ */ -#elif defined(__s390x__) +#elif defined(__s390x__) || defined(__s390__) __asm__ __volatile__( " cs %0,%2,%1\n" : "+d" (match_value), "=Q" (*v)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor