[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] kernel build error in dma.c
Hi Stephen,
Stephen Donecker wrote:
> Has anyone tried building the kernel with the latest updates? I keep
> getting errors referring to an undefined MAX_DMA_CHANNELS in dma.c. I
> tracked this problem down to a recent update to the dma.c file which
> comments out the #ifdef MAX_DMA_CHANNELS line, plus some other
> modifications.
Yep - looks like a recent commit broke it all right.
> So should I define MAX_DMA_CHANNELS in dma.h or revert back to the old
> dma.c source?
For now I'd probably just back out to the previous dma.c - I've mailed
the uclinux-dev list about it. It looks like a bad bit of code, because
the subsequent definition
static struct dma_chan dma_chan_busy[MAX_DMA_CHANNELS] = {
is no longer conditional on MAX_DMA_CHANNELS being defined.
Obviously, microblaze isn't doing any DMA - to be honest I've never even
looked at the DMA stuff to see how it is stubbed.
I'll report back when I hear from the uclinux list.
Cheers,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/