ihk_atomic64_set argument to long
Change-Id: Ie9b5978028000236ae5846214a2ea14fcdffaf56
This commit is contained in:
@@ -124,7 +124,7 @@ static inline long ihk_atomic64_read(const ihk_atomic64_t *v)
|
|||||||
return *(volatile long *)&(v)->counter64;
|
return *(volatile long *)&(v)->counter64;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void ihk_atomic64_set(ihk_atomic64_t *v, int i)
|
static inline void ihk_atomic64_set(ihk_atomic64_t *v, long i)
|
||||||
{
|
{
|
||||||
v->counter64 = i;
|
v->counter64 = i;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ static inline long ihk_atomic64_read(const ihk_atomic64_t *v)
|
|||||||
return *(volatile long *)&(v)->counter64;
|
return *(volatile long *)&(v)->counter64;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void ihk_atomic64_set(ihk_atomic64_t *v, int i)
|
static inline void ihk_atomic64_set(ihk_atomic64_t *v, long i)
|
||||||
{
|
{
|
||||||
v->counter64 = i;
|
v->counter64 = i;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user