1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 15:14:03 +02:00
openwrt-xburst/target/linux/etrax-2.6/patches/generic_2.6/211-no_block2mtd_readahead.patch
blogic 9b11307b07 add initial support for the crisarchitecture used on foxboards to openwrt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 00:46:02 +00:00

12 lines
406 B
Diff

--- linux.old/drivers/mtd/devices/block2mtd.c 2007-02-01 20:13:47.147274772 +0100
+++ linux/drivers/mtd/devices/block2mtd.c 2007-02-01 20:19:59.753034993 +0100
@@ -40,7 +40,7 @@
static LIST_HEAD(blkmtd_device_list);
-#define PAGE_READAHEAD 64
+#define PAGE_READAHEAD 0
static void cache_readahead(struct address_space *mapping, int index)
{
filler_t *filler = (filler_t*)mapping->a_ops->readpage;