HFI: call hfi1_map_device_addresses() at initialization time

Conflicts:
	kernel/syscall.c
This commit is contained in:
Balazs Gerofi
2017-10-04 14:18:53 +09:00
parent 54bdb3419d
commit 7a1ad31183
3 changed files with 19 additions and 13 deletions

View File

@@ -100,12 +100,6 @@ int hfi1_user_exp_rcv_setup(struct hfi1_filedata *fd, struct hfi1_tid_info *tinf
return -EINVAL;
}
if (hfi1_map_device_addresses(fd) < 0) {
kprintf("%s: Could not map hfi1 device addresses\n",
__FUNCTION__);
return -EINVAL;
}
tidlist = kmalloc_cache_alloc(&tidlist_cache,
//sizeof(*tidlist) * uctxt->expected_count);
sizeof(*tidlist) * 1024);