Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
jack
jack-ppc-fix.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jack-ppc-fix.dif of Package jack
--- config/cpu/powerpc/cycles.h-dist 2004-08-05 18:33:31.762822526 +0200 +++ config/cpu/powerpc/cycles.h 2004-08-05 18:34:36.559045930 +0200 @@ -39,6 +39,9 @@ static inline cycles_t get_cycles(void) { cycles_t ret = 0; +#ifdef __linux__ + __asm__ __volatile__("mftb %0\n" : "=r" (ret)); +#else __asm__ __volatile__( "98: mftb %0\n" "99:\n" @@ -49,6 +52,7 @@ static inline cycles_t get_cycles(void) " .long 99b\n" ".previous" : "=r" (ret) : "i" (CPU_FTR_601)); +#endif 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