LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* qla4xxx compile failure on 32-bit PowerPC: missing readq and writeq
@ 2010-08-19 21:03 Meelis Roos
  0 siblings, 0 replies; only message in thread
From: Meelis Roos @ 2010-08-19 21:03 UTC (permalink / raw)
  To: Linux Kernel list, linuxppc-dev, linux-scsi


This is current 2.6.36-rc1+git on 32-bit PowerPC:

  CC [M]  drivers/scsi/qla4xxx/ql4_nx.o
drivers/scsi/qla4xxx/ql4_nx.c: In function 'qla4_8xxx_pci_mem_read_direct':
drivers/scsi/qla4xxx/ql4_nx.c:717: error: implicit declaration of function 'readq'
drivers/scsi/qla4xxx/ql4_nx.c: In function 'qla4_8xxx_pci_mem_write_direct':
drivers/scsi/qla4xxx/ql4_nx.c:788: error: implicit declaration of function 'writeq'

readq and writeq are defined in io.h but only when compiling for 64-bit 
kernel. Adding manual #include <linux/io.h> does not help here.

-- 
Meelis Roos (mroos@linux.ee)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-19 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-19 21:03 qla4xxx compile failure on 32-bit PowerPC: missing readq and writeq Meelis Roos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox