diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-10 06:46:28 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-10 06:46:51 -0400 |
commit | 1cad1252ed279ea59f3f8d3d3a5817eeb2f7a4d3 (patch) | |
tree | ec5af7a70f58ad27ad21fc27815ca164ccf92c36 /drivers/infiniband/hw/ipath/ipath_driver.c | |
parent | dcef788eb9659b61a2110284fcce3ca6e63480d2 (diff) | |
parent | 93cfb3c9fd83d877a8f1ffad9ff862b617b32828 (diff) |
Merge branch 'tracing/urgent' into tracing/core
Merge reason: pick up both v2.6.30-rc1 [which includes tracing/urgent fixes]
and pick up the current lineup of tracing/urgent fixes as well
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_driver.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_driver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c index cb9daa6ac029..04e88b600558 100644 --- a/drivers/infiniband/hw/ipath/ipath_driver.c +++ b/drivers/infiniband/hw/ipath/ipath_driver.c | |||
@@ -470,14 +470,14 @@ static int __devinit ipath_init_one(struct pci_dev *pdev, | |||
470 | goto bail_disable; | 470 | goto bail_disable; |
471 | } | 471 | } |
472 | 472 | ||
473 | ret = pci_set_dma_mask(pdev, DMA_64BIT_MASK); | 473 | ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(64)); |
474 | if (ret) { | 474 | if (ret) { |
475 | /* | 475 | /* |
476 | * if the 64 bit setup fails, try 32 bit. Some systems | 476 | * if the 64 bit setup fails, try 32 bit. Some systems |
477 | * do not setup 64 bit maps on systems with 2GB or less | 477 | * do not setup 64 bit maps on systems with 2GB or less |
478 | * memory installed. | 478 | * memory installed. |
479 | */ | 479 | */ |
480 | ret = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | 480 | ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); |
481 | if (ret) { | 481 | if (ret) { |
482 | dev_info(&pdev->dev, | 482 | dev_info(&pdev->dev, |
483 | "Unable to set DMA mask for unit %u: %d\n", | 483 | "Unable to set DMA mask for unit %u: %d\n", |
@@ -486,7 +486,7 @@ static int __devinit ipath_init_one(struct pci_dev *pdev, | |||
486 | } | 486 | } |
487 | else { | 487 | else { |
488 | ipath_dbg("No 64bit DMA mask, used 32 bit mask\n"); | 488 | ipath_dbg("No 64bit DMA mask, used 32 bit mask\n"); |
489 | ret = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); | 489 | ret = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)); |
490 | if (ret) | 490 | if (ret) |
491 | dev_info(&pdev->dev, | 491 | dev_info(&pdev->dev, |
492 | "Unable to set DMA consistent mask " | 492 | "Unable to set DMA consistent mask " |
@@ -496,7 +496,7 @@ static int __devinit ipath_init_one(struct pci_dev *pdev, | |||
496 | } | 496 | } |
497 | } | 497 | } |
498 | else { | 498 | else { |
499 | ret = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK); | 499 | ret = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)); |
500 | if (ret) | 500 | if (ret) |
501 | dev_info(&pdev->dev, | 501 | dev_info(&pdev->dev, |
502 | "Unable to set DMA consistent mask " | 502 | "Unable to set DMA consistent mask " |