Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
jack
jack-sparcv9.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jack-sparcv9.diff of Package jack
Without this, there is a link error on SPARC. --- linux/cycles.h | 10 ++++++++++ 1 file changed, 10 insertions(+) Index: jack-1.9.5.4046/linux/cycles.h =================================================================== --- jack-1.9.5.4046.orig/linux/cycles.h +++ jack-1.9.5.4046/linux/cycles.h @@ -63,6 +63,16 @@ static inline unsigned long long get_cyc } #endif /* __sparc_v9__ */ +#ifdef __sparc_v9__ +/* rd is V9 only */ +static inline unsigned long long get_cycles(void) +{ + unsigned long long res; + __asm__ __volatile__("rd %%tick, %0" : "=r"(res)); + return res; +} +#endif + #ifdef __PPC__ /* PowerPC */
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