Olaf Hering wrote:
ata_host_intr cant be either inline or exported.
Signed-off-by: Olaf Hering <olh@xxxxxxx>
Index: linux-2.6.12/drivers/scsi/libata-core.c
===================================================================
--- linux-2.6.12.orig/drivers/scsi/libata-core.c
+++ linux-2.6.12/drivers/scsi/libata-core.c
@@ -3487,7 +3487,7 @@ void ata_bmdma_stop(struct ata_port *ap)
* One if interrupt was handled, zero if not (shared irq).
*/
-inline unsigned int ata_host_intr (struct ata_port *ap,
+unsigned int ata_host_intr (struct ata_port *ap,
er, huh?
When I wrote this, the compiler did what I expected: it inlined the
local copy, and exported a copy for external modules to call.
Have you verified the asm does not do this? What changed?
Jeff
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html