diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-03-26 18:58:12 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-26 19:28:19 +0300 |
commit | 6eab1bc0eecb541f4c383a0823902dc8f5d99861 (patch) | |
tree | 1f8cd4aa01eaa38e586e5473adfa372dda459793 /drivers/cpuidle | |
parent | 7fe183c773c42f9814cd361c45a0233f441bc4fc (diff) | |
download | linux-6eab1bc0eecb541f4c383a0823902dc8f5d99861.tar.xz |
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/cpuidle')
0 files changed, 0 insertions, 0 deletions