Bartlomiej Zolnierkiewicz
7caa30ea82
ata: add CONFIG_SATA_HOST=n version of ata_ncq_enabled()
When CONFIG_SATA_HOST=n there are no NCQ capable host drivers
built so it is safe to hardwire ata_ncq_enabled() to always
return zero.
Code size savings on m68k arch using (modified) atari_defconfig:
text data bss dec hex filename
before:
37820 572 40 38432 9620 drivers/ata/libata-core.o
21040 105 576 21721 54d9 drivers/ata/libata-scsi.o
17405 18 0 17423 440f drivers/ata/libata-eh.o
after:
37582 572 40 38194 9532 drivers/ata/libata-core.o
20702 105 576 21383 5387 drivers/ata/libata-scsi.o
17353 18 0 17371 43db drivers/ata/libata-eh.o
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-03-26 10:28:19 -06:00
..
2020-02-28 09:02:18 -08:00
2020-02-04 11:58:07 +00:00
2020-01-16 19:09:02 +01:00
2020-01-16 15:18:12 +08:00
2020-02-27 13:54:38 +01:00
2020-02-08 14:17:27 -08:00
2020-01-09 16:42:29 -07:00
2020-03-26 10:28:19 -06:00
2020-02-17 21:33:28 -08:00
2020-01-30 16:28:52 -04:00
2020-02-14 17:13:54 -05:00
2020-02-08 14:04:19 -08:00
2020-03-07 07:24:36 +01:00
2020-02-08 14:04:19 -08:00
2020-03-04 13:02:45 -06:00
2020-01-14 12:20:57 +01:00
2020-03-05 09:42:23 -06:00