Non-PCI build broken on sparc64, maybe others

From: David Dillow
Date: Mon Feb 16 2004 - 23:51:23 EST


I believe this changeset in Linus's tree:
======== ChangeSet 1.1500.12.4 ========
D 1.1500.12.4 04/02/02 11:04:46-08:00 dsaxena@xxxxxxxxxxx 35779 35702 5/0/1
P ChangeSet
C [PATCH] PCI: Replace pci_pool with generic dma_pool
C
C - Move drivers/pci/pool.c to drivers/base/pool.c
C - Initialize struct device.dma_pools in device_initialize()
C - Remove initialization of struct pci_dev.pools from pci_setup_device()
------------------------------------------------

with key: dsaxena@xxxxxxxxxxx|ChangeSet|20040202190446|51997

breaks builds that do not include PCI support.

If I set CONFIG_PCI=y, it builds. If not, I get:
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.text+0x2056c): In function `pool_alloc_page':
: undefined reference to `dma_alloc_coherent'
drivers/built-in.o(.text+0x2060c): In function `pool_free_page':
: undefined reference to `dma_free_coherent'
make: *** [.tmp_vmlinux1] Error 1

while building BK-latest for my Ultra1.

Just a heads up,
Dave
-
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/