In Gentoo, I ran "genkernel all" to compile the kernel and all modules and the following error occurred: CC [M] drivers/scsi/ipr.o drivers/scsi/ipr.c: In function 'ipr_mask_and_clear_interrupts': drivers/scsi/ipr.c:653: error: implicit declaration of function 'writeq' make[2]: *** [drivers/scsi/ipr.o] Error 1 make[1]: *** [drivers/scsi] Error 2
Note: This is the 2.6.34-gentoo-r1 kernel for ppc
This sounds very familar: https://bugzilla.kernel.org/show_bug.cgi?id=16971 Is this a regression from earlier releases?
That does look very similar to this problem, but of course in another driver. Strangely, that is also ppc. I have also had the same error in the 2.6.35-r5 kernel sources in Gentoo, so this hasn't since been noticed/fixed and has in fact regressed.
The problem in the IPR driver is fixed with this patch: http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=c5f10187965f93ef7ef67da9c7c449b13b6dee1b