diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_file_ops.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_file_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c index 4080fed2dcd..6ba9a2d1e6e 100644 --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c | |||
@@ -1110,7 +1110,7 @@ static int ipath_mmap(struct file *fp, struct vm_area_struct *vma) | |||
1110 | ret = mmap_rcvegrbufs(vma, pd); | 1110 | ret = mmap_rcvegrbufs(vma, pd); |
1111 | else if (pgaddr == (u64) pd->port_rcvhdrq_phys) { | 1111 | else if (pgaddr == (u64) pd->port_rcvhdrq_phys) { |
1112 | /* | 1112 | /* |
1113 | * The rcvhdrq itself; readonly except on HT-400 (so have | 1113 | * The rcvhdrq itself; readonly except on HT (so have |
1114 | * to allow writable mapping), multiple pages, contiguous | 1114 | * to allow writable mapping), multiple pages, contiguous |
1115 | * from an i/o perspective. | 1115 | * from an i/o perspective. |
1116 | */ | 1116 | */ |
@@ -1298,14 +1298,14 @@ static int find_best_unit(struct file *fp) | |||
1298 | * This code is present to allow a knowledgeable person to | 1298 | * This code is present to allow a knowledgeable person to |
1299 | * specify the layout of processes to processors before opening | 1299 | * specify the layout of processes to processors before opening |
1300 | * this driver, and then we'll assign the process to the "closest" | 1300 | * this driver, and then we'll assign the process to the "closest" |
1301 | * HT-400 to that processor (we assume reasonable connectivity, | 1301 | * InfiniPath chip to that processor (we assume reasonable connectivity, |
1302 | * for now). This code assumes that if affinity has been set | 1302 | * for now). This code assumes that if affinity has been set |
1303 | * before this point, that at most one cpu is set; for now this | 1303 | * before this point, that at most one cpu is set; for now this |
1304 | * is reasonable. I check for both cpus_empty() and cpus_full(), | 1304 | * is reasonable. I check for both cpus_empty() and cpus_full(), |
1305 | * in case some kernel variant sets none of the bits when no | 1305 | * in case some kernel variant sets none of the bits when no |
1306 | * affinity is set. 2.6.11 and 12 kernels have all present | 1306 | * affinity is set. 2.6.11 and 12 kernels have all present |
1307 | * cpus set. Some day we'll have to fix it up further to handle | 1307 | * cpus set. Some day we'll have to fix it up further to handle |
1308 | * a cpu subset. This algorithm fails for two HT-400's connected | 1308 | * a cpu subset. This algorithm fails for two HT chips connected |
1309 | * in tunnel fashion. Eventually this needs real topology | 1309 | * in tunnel fashion. Eventually this needs real topology |
1310 | * information. There may be some issues with dual core numbering | 1310 | * information. There may be some issues with dual core numbering |
1311 | * as well. This needs more work prior to release. | 1311 | * as well. This needs more work prior to release. |