Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
jack
jack-ppc64-long.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jack-ppc64-long.patch of Package jack
Index: jack-1.9.8/linux/cycles.h =================================================================== --- jack-1.9.8.orig/linux/cycles.h +++ jack-1.9.8/linux/cycles.h @@ -87,16 +87,24 @@ static inline cycles_t get_cycles(void) { cycles_t ret = 0; +#ifdef __powerpc64__ +# define LONGT ".llong" +#else +# define LONGT ".long" +#endif + __asm__ __volatile__( "98: mftb %0\n" "99:\n" ".section __ftr_fixup,\"a\"\n" " .long %1\n" " .long 0\n" - " .long 98b\n" - " .long 99b\n" + " " LONGT " 98b\n" + " " LONGT " 99b\n" ".previous" : "=r" (ret) : "i" (CPU_FTR_601)); + +#undef LONGT return ret; }
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