|
@@ -2968,7 +2968,7 @@ __setup("dhash_entries=", set_dhash_entries);
|
|
|
|
|
|
static void __init dcache_init_early(void)
|
|
static void __init dcache_init_early(void)
|
|
{
|
|
{
|
|
- int loop;
|
|
|
|
|
|
+ unsigned int loop;
|
|
|
|
|
|
/* If hashes are distributed across NUMA nodes, defer
|
|
/* If hashes are distributed across NUMA nodes, defer
|
|
* hash allocation until vmalloc space is available.
|
|
* hash allocation until vmalloc space is available.
|
|
@@ -2986,13 +2986,13 @@ static void __init dcache_init_early(void)
|
|
&d_hash_mask,
|
|
&d_hash_mask,
|
|
0);
|
|
0);
|
|
|
|
|
|
- for (loop = 0; loop < (1 << d_hash_shift); loop++)
|
|
|
|
|
|
+ for (loop = 0; loop < (1U << d_hash_shift); loop++)
|
|
INIT_HLIST_BL_HEAD(dentry_hashtable + loop);
|
|
INIT_HLIST_BL_HEAD(dentry_hashtable + loop);
|
|
}
|
|
}
|
|
|
|
|
|
static void __init dcache_init(void)
|
|
static void __init dcache_init(void)
|
|
{
|
|
{
|
|
- int loop;
|
|
|
|
|
|
+ unsigned int loop;
|
|
|
|
|
|
/*
|
|
/*
|
|
* A constructor could be added for stable state like the lists,
|
|
* A constructor could be added for stable state like the lists,
|
|
@@ -3016,7 +3016,7 @@ static void __init dcache_init(void)
|
|
&d_hash_mask,
|
|
&d_hash_mask,
|
|
0);
|
|
0);
|
|
|
|
|
|
- for (loop = 0; loop < (1 << d_hash_shift); loop++)
|
|
|
|
|
|
+ for (loop = 0; loop < (1U << d_hash_shift); loop++)
|
|
INIT_HLIST_BL_HEAD(dentry_hashtable + loop);
|
|
INIT_HLIST_BL_HEAD(dentry_hashtable + loop);
|
|
}
|
|
}
|
|
|
|
|