diff options
Diffstat (limited to 'device')
-rw-r--r-- | device/dev_lookup.c | 2 | ||||
-rw-r--r-- | device/dev_pager.c | 4 | ||||
-rw-r--r-- | device/ds_routines.c | 4 | ||||
-rw-r--r-- | device/net_io.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/device/dev_lookup.c b/device/dev_lookup.c index a80830c..9af7508 100644 --- a/device/dev_lookup.c +++ b/device/dev_lookup.c @@ -366,5 +366,5 @@ dev_lookup_init(void) queue_init(&dev_number_hash_table[i]); kmem_cache_init(&dev_hdr_cache, "mach_device", - sizeof(struct mach_device), 0, NULL, NULL, NULL, 0); + sizeof(struct mach_device), 0, NULL, 0); } diff --git a/device/dev_pager.c b/device/dev_pager.c index 815473a..4033170 100644 --- a/device/dev_pager.c +++ b/device/dev_pager.c @@ -173,7 +173,7 @@ void dev_pager_hash_init(void) size = sizeof(struct dev_pager_entry); kmem_cache_init(&dev_pager_hash_cache, "dev_pager_entry", size, 0, - NULL, NULL, NULL, 0); + NULL, 0); for (i = 0; i < DEV_PAGER_HASH_COUNT; i++) queue_init(&dev_pager_hashtable[i]); simple_lock_init(&dev_pager_hash_lock); @@ -705,7 +705,7 @@ void device_pager_init(void) */ size = sizeof(struct dev_pager); kmem_cache_init(&dev_pager_cache, "dev_pager", size, 0, - NULL, NULL, NULL, 0); + NULL, 0); /* * Initialize the name port hashing stuff. diff --git a/device/ds_routines.c b/device/ds_routines.c index 43ed5b5..dbff7f8 100644 --- a/device/ds_routines.c +++ b/device/ds_routines.c @@ -1554,7 +1554,7 @@ void mach_device_init(void) device_io_map->wait_for_space = TRUE; kmem_cache_init(&io_inband_cache, "io_buf_ptr_inband", - sizeof(io_buf_ptr_inband_t), 0, NULL, NULL, NULL, 0); + sizeof(io_buf_ptr_inband_t), 0, NULL, 0); mach_device_trap_init(); } @@ -1598,7 +1598,7 @@ static void mach_device_trap_init(void) { kmem_cache_init(&io_trap_cache, "io_req", IOTRAP_REQSIZE, 0, - NULL, NULL, NULL, 0); + NULL, 0); } /* diff --git a/device/net_io.c b/device/net_io.c index 47ef2ea..99af0b2 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -1495,11 +1495,11 @@ net_io_init(void) size = sizeof(struct net_rcv_port); kmem_cache_init(&net_rcv_cache, "net_rcv_port", size, 0, - NULL, NULL, NULL, 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); + NULL, 0); size = ikm_plus_overhead(sizeof(struct net_rcv_msg)); net_kmsg_size = round_page(size); |