Michael Hudson wrote: > Well, it failed like that for me both before and after my PPC changes. > I'm fairly sure I didn't mess this up. Maybe there's some > kernel-headers package that's necessary. > > OTOH, I think one could replace the include by > > #define rdtscll(val) \ > __asm__ __volatile__("rdtsc" : "=A" (val)) > > if my limited googling is anything to go by. It also seems asm/msr.h > is a "kernel internal header with absolutely no stable API > properties...." (Redhat bugzilla). I'ld still like to understand why it fails for your system (it works fine on mine). Do you have a definition for rdtscll in /usr/include/asm/msr.h? Is it a define like the one you just put there? If so, why does the macro not expand? Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4