[SOLVED] ARM lpc32xx build fails for linux-2.6.34
I am currently upgrading the ARM kernel from Linux 220.127.116.11 to 2.6.34.
I applied all the patches for the lpc32xx, and tried to build.
The build failed with missing __pfn_to_bus and __bus_to_pfn.
A search through the sources showed that "__arch_page_to_dma" definition is not available for the lpc32xx processors.
Is there a patch that provides the above? Is anyone know of a solution for it?
make: `include/generated/mach-types.h' is up to date.
In file included from include/linux/dma-mapping.h:103,
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h: In function 'page_to_dma':
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h:20: error: implicit declaration of function '__pfn_to_bus'
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h: In function 'dma_to_page':
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h:25: error: implicit declaration of function '__bus_to_pfn'
make: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2