]> git.baikalelectronics.ru Git - kernel.git/commit
CONFIG_BOUNCE to avoid useless inclusion of bounce buffer logic
authorChristoph Lameter <clameter@sgi.com>
Tue, 17 Jul 2007 11:03:37 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:02 +0000 (10:23 -0700)
commit98a9cccb0e6832adbb0918cb3139449aa0bac774
tree25bc49eadea73cf2133198963d1baf3f5def7316
parent6e588d4b0c950ed0559c7ccf101876bff3c73eda
CONFIG_BOUNCE to avoid useless inclusion of bounce buffer logic

The bounce buffer logic is included on systems that do not need it.  If a
system does not have zones like ZONE_DMA and ZONE_HIGHMEM that can lead to
the use of bounce buffers then there is no need to reserve memory pools etc
etc.  This is true f.e.  for SGI Altix.

Also nicifies the Makefile and gets rid of the tricky "and" there.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/blkdev.h
mm/Kconfig
mm/Makefile