Skip to contentSkip to conversation

Fix IXP4xx build

PATCH Krzysztof Halasa 2 participants 3 messages Dec 12, 2010 – Dec 13, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Russell,

Is it ok if I send the following to Linus, or would you like to do it yourself? Leaving IXP4xx build broken for 2.6.37 isn't the best idea.

From: Imre Kaloz <[email protected]>

arm: export dma_set_coherent_mask

While a regression was fixed with commit 710224fa2750cf (arm: fix "arm: fix pci_set_consistent_dma_mask for dmabounce devices"), a new one was introduced as dma_set_coherent_mask wasn't exported for modules. This patch takes care for this issue.

arch/arm/common/it8152.c +1 -0
@@ -352,3 +352,4 @@ struct pci_bus * __init it8152_pci_scan_bus(int nr, struct pci_sys_data *sys)
 	return pci_scan_bus(nr, &it8152_ops, sys);
 }
 
+EXPORT_SYMBOL(dma_set_coherent_mask);
arch/arm/mach-ixp4xx/common-pci.c +1 -1
@@ -483,4 +483,4 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)
 
 EXPORT_SYMBOL(ixp4xx_pci_read);
 EXPORT_SYMBOL(ixp4xx_pci_write);
-
+EXPORT_SYMBOL(dma_set_coherent_mask);
Signature · 1 line
Krzysztof Halasa
#1 lore raw
Quoted 4 lines · Krzysztof Halasa

Russell,

Is it ok if I send the following to Linus, or would you like to do it yourself? Leaving IXP4xx build broken for 2.6.37 isn't the best idea.

You could put it into the patch system, which'll give more stuff queued for the rc tomorrow, and therefore more reason to get Linus to pull ;)

#2 lore raw
Quoted 2 lines · Russell King - ARM Linux

You could put it into the patch system, which'll give more stuff queued for the rc tomorrow, and therefore more reason to get Linus to pull ;)

Unfortunately I can't see a way to specify a patch author in your patch system, and this patch isn't mine. Doesn't mean there is no way to specify the author, I just can't see it.

I can really forward this obvious 2-liner to Linus if you can't easily apply patches contained in email messages. Just say so.

Signature · 1 line
Krzysztof Halasa