1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 01:09:38 -05:00
linux/include
Bart Van Assche bca6b067b0 block: Move power management code into a new source file
Move the code for runtime power management from blk-core.c into the
new source file blk-pm.c. Move the corresponding declarations from
<linux/blkdev.h> into <linux/blk-pm.h>. For CONFIG_PM=n, leave out
the declarations of the functions that are not used in that mode.
This patch not only reduces the number of #ifdefs in the block layer
core code but also reduces the size of header file <linux/blkdev.h>
and hence should help to reduce the build time of the Linux kernel
if CONFIG_PM is not defined.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Jianchao Wang <jianchao.w.wang@oracle.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-26 15:11:28 -06:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux block: Move power management code into a new source file 2018-09-26 15:11:28 -06:00
math-emu
media
memory
misc
net Here are quite a large number of fixes, notably: 2018-09-03 22:12:02 -07:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace
uapi Merge branch 'akpm' (patches from Andrew) 2018-09-04 17:01:11 -07:00
video
xen xen: provide a prototype for xen_biovec_phys_mergeable in xen.h 2018-09-26 08:45:10 -06:00