ARM: rockchip: no real-time kconsole thread
author黄涛 <huangtao@rock-chips.com>
Tue, 8 Apr 2014 00:53:53 +0000 (08:53 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 8 Apr 2014 00:54:12 +0000 (08:54 +0800)
arch/arm/mach-rockchip/rk_fiq_debugger.c

index 9bd67b6a9be47662f09a067f87f10b8c8b3f9c42..951118dfca0ca36f56dd37e229d89ed4839b38c7 100644 (file)
@@ -263,11 +263,8 @@ void rk_serial_debug_init(void __iomem *base, int irq, int signal_irq, int wakeu
 
 #ifdef CONFIG_RK_CONSOLE_THREAD
        t->console_task = kthread_create(console_thread, pdev, "kconsole");
-       if (!IS_ERR(t->console_task)) {
-               struct sched_param param = { .sched_priority = MAX_RT_PRIO - 1 };
+       if (!IS_ERR(t->console_task))
                t->pdata.console_write = console_write;
-               sched_setscheduler_nocheck(t->console_task, SCHED_FIFO, &param);
-       }
 #endif
 
        pdev->name = "fiq_debugger";