From 6769b65da44011c329aa80cc50db46eca30b1fc6 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Mon, 30 Nov 2015 13:43:26 +0100 Subject: [PATCH] if: also for blk_queue_max_segments --- kernel/mars_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/mars_if.c b/kernel/mars_if.c index 6ac40c6a..019bb8e9 100644 --- a/kernel/mars_if.c +++ b/kernel/mars_if.c @@ -906,7 +906,7 @@ static int if_switch(struct if_brick *brick) #else MARS_DBG("blk_queue_max_segments()\n"); // end_remove_this - blk_queue_max_segments(q, USE_MAX_PHYS_SEGMENTS); + blk_queue_max_segments(q, PAGE_SIZE); // remove_this #endif #endif