Skip to content

Commit

Permalink
powerpc/pseries: Honor the generic "no_64bit_msi" flag
Browse files Browse the repository at this point in the history
Instead of the arch specific quirk which we are deprecating

Signed-off-by: Benjamin Herrenschmidt <[email protected]>
CC: <[email protected]>
  • Loading branch information
ozbenh committed Nov 24, 2014
1 parent 3607438 commit 415072a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static int rtas_setup_msi_irqs(struct pci_dev *pdev, int nvec_in, int type)
*/
again:
if (type == PCI_CAP_ID_MSI) {
if (pdn->force_32bit_msi) {
if (pdev->no_64bit_msi) {
rc = rtas_change_msi(pdn, RTAS_CHANGE_32MSI_FN, nvec);
if (rc < 0) {
/*
Expand Down

0 comments on commit 415072a

Please sign in to comment.