summaryrefslogtreecommitdiff
path: root/device/net_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/net_io.c')
-rw-r--r--device/net_io.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/device/net_io.c b/device/net_io.c
index 12a1e9c..67d849a 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -1494,12 +1494,16 @@ net_io_init(void)
vm_size_t size;
size = sizeof(struct net_rcv_port);
- kmem_cache_init(&net_rcv_cache, "net_rcv_port", size, 0,
- NULL, NULL, NULL, 0);
+ kmem_cache_init (&net_rcv_cache,
+ "net_rcv_port",
+ size, 0,
+ NULL, 0);
size = sizeof(struct net_hash_entry);
- kmem_cache_init(&net_hash_entry_cache, "net_hash_entry", size, 0,
- NULL, NULL, NULL, 0);
+ kmem_cache_init (&net_hash_entry_cache,
+ "net_hash_entry",
+ size, 0,
+ NULL, 0);
size = ikm_plus_overhead(sizeof(struct net_rcv_msg));
net_kmsg_size = round_page(size);