Re: [PATCH] drm: Fix support for PCI domains

From: Jesse Barnes
Date: Thu Aug 12 2010 - 20:35:35 EST


> > Hm, so pci_domain_nr should just return 0 on platforms where
> > CONFIG_PCI_DOMAINS isn't set. ÂI'd expect that to be the case when
> > CONFIG_PCI=n... ÂMaybe we just need to shuffle the definition
> > around?
>
> I suspect something like the attached would suffice.
>
> Or maybe moving the CONFIG_PCI_DOMAINS checkout outside CONFIG_PCI.

Yeah, that looks ok, and better than putting it in drm. I'll apply to
my for-linus branch for the next PCI fixes pull.

Thanks,
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/