On Thu, Jun 4, 2009 at 20:07, Greg KH <g...@kroah.com> wrote: > On Thu, Jun 04, 2009 at 07:01:32PM +0530, Subrata Modak wrote: >> CC [M] drivers/staging/comedi/drivers.o >> drivers/staging/comedi/drivers.c: In function ‘comedi_buf_alloc’: >> drivers/staging/comedi/drivers.c:496: error: ‘PAGE_KERNEL_NOCACHE’ >> undeclared (first use in this function) >> drivers/staging/comedi/drivers.c:496: error: (Each undeclared identifier is >> reported only once >> drivers/staging/comedi/drivers.c:496: error: for each function it appears >> in.) >> make[3]: *** [drivers/staging/comedi/drivers.o] Error 1 >> make[2]: *** [drivers/staging/comedi] Error 2 >> make[1]: *** [drivers/staging] Error 2 >> make: *** [drivers] Error 2 >> >> Is it still normal to expect this failure ? > > No. > >> I reported them long back during April: >> http://www.gossamer-threads.com/lists/linux/kernel/1065227, > > Yes, and I took some patches that were supposed to fix this. I can't > duplicate this here, care to send a patch that would fix it?
PAGE_KERNEL_NOCACHE is defined on a few architectures only, namely frv, m32r, mn10300, sh, and x86[*]. On all others, it will fail. [*] Interestingly, sparc refers to it in one of its include files, without providing a definition, Probably that code is unused. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev