Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
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: linux/cycles.h =================================================================== --- linux/cycles.h.orig 2011-12-19 13:54:27.000000000 +0200 +++ linux/cycles.h 2012-02-26 10:53:35.411830224 +0200 @@ -61,6 +61,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