diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-03-26 16:58:12 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-26 17:28:19 +0100 |
commit | 6eab1bc0eecb541f4c383a0823902dc8f5d99861 (patch) | |
tree | 1f8cd4aa01eaa38e586e5473adfa372dda459793 /drivers/ata/libata.h | |
parent | ata: start separating SATA specific code from libata-core.c (diff) | |
download | linux-6eab1bc0eecb541f4c383a0823902dc8f5d99861.tar.xz linux-6eab1bc0eecb541f4c383a0823902dc8f5d99861.zip |
ata: move sata_scr_*() to libata-sata.c
* move sata_scr_*() to libata-sata.c
* add static inlines for CONFIG_SATA_HOST=n case
Code size savings on m68k arch using (modified) atari_defconfig:
text data bss dec hex filename
before:
35642 572 40 36254 8d9e drivers/ata/libata-core.o
16607 18 0 16625 40f1 drivers/ata/libata-eh.o
after:
32846 572 40 33458 82b2 drivers/ata/libata-core.o
16243 18 0 16261 3f85 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>
Diffstat (limited to 'drivers/ata/libata.h')
0 files changed, 0 insertions, 0 deletions