Thread (1 message) 1 message, 1 author, 2014-03-24
DORMANTno replies

[PATCH 2/3] IXP4xx: Fix DMA masks.

From: khc@pm.waw.pl (Krzysztof Halasa)
Date: 2014-03-24 20:30:35

Simon K?gstr?m [off-list ref] writes:
I would simply remove the #ifdef CONFIG_PCI statements: dev_is_pci(dev)
should return false at compile time if CONFIG_PCI is not set, and then
I'd trust the compiler to simply remove all dead code.
This will be the same with these #ifdefs. I can imagine someone using
other compiler or e.g. -O0, and without the #ifdefs the link would fail
due to unavailability of DMA bouncer.
-- 
Krzysztof Halasa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help