projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aarch64: allocate membarrier system call number
[userspace-rcu.git]
/
rculfhash.c
diff --git
a/rculfhash.c
b/rculfhash.c
index 57f1a04d46dd3d446ca88fa74267660dd7a26fe2..710751bc4bf022eccb037f49957b842c9161d67c 100644
(file)
--- a/
rculfhash.c
+++ b/
rculfhash.c
@@
-426,7
+426,7
@@
unsigned int fls_u32(uint32_t x)
{
int r;
{
int r;
-
asm
("bsrl %1,%0\n\t"
+
__asm__
("bsrl %1,%0\n\t"
"jnz 1f\n\t"
"movl $-1,%0\n\t"
"1:\n\t"
"jnz 1f\n\t"
"movl $-1,%0\n\t"
"1:\n\t"
@@
-442,7
+442,7
@@
unsigned int fls_u64(uint64_t x)
{
long r;
{
long r;
-
asm
("bsrq %1,%0\n\t"
+
__asm__
("bsrq %1,%0\n\t"
"jnz 1f\n\t"
"movq $-1,%0\n\t"
"1:\n\t"
"jnz 1f\n\t"
"movq $-1,%0\n\t"
"1:\n\t"
@@
-1386,7
+1386,7
@@
void fini_table(struct cds_lfht *ht,
unsigned long len;
len = 1UL << (i - 1);
unsigned long len;
len = 1UL << (i - 1);
- dbg_printf("fini order %l
u
len: %lu\n", i, len);
+ dbg_printf("fini order %l
d
len: %lu\n", i, len);
/* Stop shrink if the resize target changes under us */
if (CMM_LOAD_SHARED(ht->resize_target) > (1UL << (i - 1)))
/* Stop shrink if the resize target changes under us */
if (CMM_LOAD_SHARED(ht->resize_target) > (1UL << (i - 1)))
This page took
0.022803 seconds
and
4
git commands to generate.