Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31551
b: refs/heads/master
c: b35f004
h: refs/heads/master
i:
  31549: 9c3f929
  31547: f92d771
  31543: a535d0f
  31535: 55e1aff
  31519: d35020d
  31487: ca506e3
v: v3
  • Loading branch information
Bryan O'Sullivan authored and Linus Torvalds committed Jul 1, 2006
1 parent 3225ea3 commit ce1606f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe62546a6afa141c4ab9aef65f5978a1b36cb523
refs/heads/master: b35f004dd3276fc43f242d9a52b4cf74877137c3
7 changes: 2 additions & 5 deletions trunk/drivers/infiniband/hw/ipath/ipath_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,8 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
((void __iomem *)dd->ipath_kregbase + len);
dd->ipath_physaddr = addr; /* used for io_remap, etc. */
/* for user mmap */
dd->ipath_kregvirt = (u64 __iomem *) phys_to_virt(addr);
ipath_cdbg(VERBOSE, "mapped io addr %llx to kregbase %p "
"kregvirt %p\n", addr, dd->ipath_kregbase,
dd->ipath_kregvirt);
ipath_cdbg(VERBOSE, "mapped io addr %llx to kregbase %p\n",
addr, dd->ipath_kregbase);

/*
* clear ipath_flags here instead of in ipath_init_chip as it is set
Expand Down Expand Up @@ -1809,7 +1807,6 @@ static void cleanup_device(struct ipath_devdata *dd)
* re-init
*/
dd->ipath_kregbase = NULL;
dd->ipath_kregvirt = NULL;
dd->ipath_uregbase = 0;
dd->ipath_sregbase = 0;
dd->ipath_cregbase = 0;
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/infiniband/hw/ipath/ipath_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,6 @@ struct ipath_devdata {
unsigned long ipath_physaddr;
/* base of memory alloced for ipath_kregbase, for free */
u64 *ipath_kregalloc;
/*
* version of kregbase that doesn't have high bits set (for 32 bit
* programs, so mmap64 44 bit works)
*/
u64 __iomem *ipath_kregvirt;
/*
* virtual address where port0 rcvhdrqtail updated for this unit.
* only written to by the chip, not the driver.
Expand Down

0 comments on commit ce1606f

Please sign in to comment.