Re: [PATCH] PCI: add stub for pci_set_consistent_dma_mask()



On Monday, June 30, 2008 1:40 pm Michael Buesch wrote:
On Monday 30 June 2008 20:42:30 Jesse Barnes wrote:
On Monday, June 30, 2008 11:35 am Randy Dunlap wrote:
From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

When CONFIG_PCI=n, there is no stub for pci_set_consistent_dma_mask(),
so add one like other similar stubs. Otherwise there can be build
errors, as here:

linux-next-20080630/drivers/ssb/main.c:1175: error: implicit
declaration of function 'pci_set_consistent_dma_mask'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Applied to linux-next, thanks Randy.

I guess this is probably also needed for 2.6.26.

Hm, current upstream seems to have pci_set_consistent_dma_mask under
CONFIG_SSB_PCIHOST, which in turn depends on PCI = y (or PCI = SSB, what does
that mean?).

But yeah, it wouldn't hurt to push this for 2.6.26 too.

Jesse
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Threaded interrupt handlers broken?
    ... On Sunday 16 August 2009 12:14:36 Michael Buesch wrote: ... I need the following patch for threaded IRQs to work. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: PATCH] net: b44.c fix sleeping-with-spinlock-helt during resume
    ... Michael Buesch wrote: ... goto out; ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Oops when using growisofs
    ... On Thu, Jun 26 2008, Michael Buesch wrote: ... Jens Axboe ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH] PCI: add stub for pci_set_consistent_dma_mask()
    ... so add one like other similar stubs. ... Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH] rocket: Fix mutex locking compile warning
    ... Michael Buesch wrote: ... #ifdef ROCKET_DEBUG_WRITE ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)