fix compile error in bfs on 2.6.31
authorFelix Fietkau <nbd@openwrt.org>
Sun, 27 Sep 2009 22:56:14 +0000 (22:56 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 27 Sep 2009 22:56:14 +0000 (22:56 +0000)
SVN-Revision: 17776

target/linux/generic-2.6/patches-2.6.31/270-sched_bfs.patch

index 1f805dfe5f54b1028d52ebefdbd51b315a40f41b..c045ae3abe35c7825303e1356309e02e7b0ee459 100644 (file)
@@ -1662,7 +1662,7 @@ This patch adds support for bfs v230, modified for diff size reduction
 +       * combine the page table reload and the switch backend into
 +       * one hypercall.
 +       */
 +       * combine the page table reload and the switch backend into
 +       * one hypercall.
 +       */
-+      arch_enter_lazy_cpu_mode();
++      arch_start_context_switch(prev);
 +
 +      if (unlikely(!mm)) {
 +              next->active_mm = oldmm;
 +
 +      if (unlikely(!mm)) {
 +              next->active_mm = oldmm;