diff options
Diffstat (limited to 'ipc/ipc_hash.c')
-rw-r--r-- | ipc/ipc_hash.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ipc/ipc_hash.c b/ipc/ipc_hash.c index c2412890..ad05016c 100644 --- a/ipc/ipc_hash.c +++ b/ipc/ipc_hash.c @@ -535,13 +535,9 @@ ipc_hash_init(void) { ipc_hash_index_t i; - /* if not configured, initialize ipc_hash_global_size */ + /* initialize ipc_hash_global_size */ - if (ipc_hash_global_size == 0) { - ipc_hash_global_size = ipc_tree_entry_max >> 8; - if (ipc_hash_global_size < 32) - ipc_hash_global_size = 32; - } + ipc_hash_global_size = IPC_HASH_GLOBAL_SIZE; /* make sure it is a power of two */ |