History

ata: start separating SATA specific code from libata-eh.c

Start separating SATA specific code from libata-eh.c: * move sata_async_notification() to libata-sata.c: Code size savings on m68k arch using (modified) atari_defconfig: text data bss dec hex filename before: 16243 18 0 16261 3f85 drivers/ata/libata-eh.o after: 16164 18 0 16182 3f36 drivers/ata/libata-eh.o

Bartlomiej Zolnierkiewicz committed 6 years ago

Commit a695de21 parent 15964ff3 files · +76 −75Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/libata.h+1−1
@@ -1240,6 +1240,7 @@ extern void ata_tf_to_fis(const struct ata_taskfile *tf, · 1239 unmodified lines
12401240 extern void ata_tf_from_fis(const u8 *fis, struct ata_taskfile *tf);
12411241 extern int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active);
12421242 extern bool sata_lpm_ignore_phy_events(struct ata_link *link);
1243+extern int sata_async_notification(struct ata_port *ap);
12431244
12441245 extern int ata_cable_40wire(struct ata_port *ap);
12451246 extern int ata_cable_80wire(struct ata_port *ap);
@@ -1332,7 +1333,6 @@ extern void ata_port_wait_eh(struct ata_port *ap); · 86 unmodified lines
13321333 extern int ata_link_abort(struct ata_link *link);
13331334 extern int ata_port_abort(struct ata_port *ap);
13341335 extern int ata_port_freeze(struct ata_port *ap);
1335−extern int sata_async_notification(struct ata_port *ap);
13361336
13371337 extern void ata_eh_freeze_port(struct ata_port *ap);
13381338 extern void ata_eh_thaw_port(struct ata_port *ap);