Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
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-03-30 17:04:29.000000000 +0200 +++ linux/cycles.h 2011-05-20 02:43:20.736970261 +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