diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-02-13 15:29:11 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-11-08 15:05:49 +1000 |
commit | adcbcfe46d15b9e182675a4bc8b90af2c0df26cb (patch) | |
tree | 8a4f782e574b3f1446673925385b807987de323f /lib | |
parent | 97db26c4d5c8e0118de3ba157eea2ea6ee78b960 (diff) | |
download | nouveau-adcbcfe46d15b9e182675a4bc8b90af2c0df26cb.tar.gz |
perfmon: initial infrastructure to expose performance counters
Internal use only at this point. Userspace later.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/core/os.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/core/os.h b/lib/core/os.h index 40741e015..7f23f9ad0 100644 --- a/lib/core/os.h +++ b/lib/core/os.h @@ -84,6 +84,7 @@ void os_backtrace(void); #define __acquires(a) #define __releases(a) #define __printf(a,b) +#define __user static inline int order_base_2(u64 base) |