projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
caa_get_cycles: caa_ prefix for type, use CLOCK_MONOTONIC
[userspace-rcu.git]
/
urcu
/
arch
/
hppa.h
diff --git
a/urcu/arch/hppa.h
b/urcu/arch/hppa.h
index 82d2a426b330869054043681ee4d281b1e85d59e..f92b0ab594b43cf801aab944a1b47bf6df82c0b5 100644
(file)
--- a/
urcu/arch/hppa.h
+++ b/
urcu/arch/hppa.h
@@
-33,11
+33,11
@@
extern "C" {
#include <sys/time.h>
#define HAS_CAA_GET_CYCLES
#include <sys/time.h>
#define HAS_CAA_GET_CYCLES
-typedef unsigned long cycles_t;
+typedef unsigned long c
aa_c
ycles_t;
-static inline cycles_t caa_get_cycles(void)
+static inline c
aa_c
ycles_t caa_get_cycles(void)
{
{
- cycles_t cycles;
+ c
aa_c
ycles_t cycles;
asm volatile("mfctl 16, %0" : "=r" (cycles));
return cycles;
asm volatile("mfctl 16, %0" : "=r" (cycles));
return cycles;
This page took
0.024048 seconds
and
4
git commands to generate.