From: Carmelo Amoroso Date: Fri, 5 Sep 2008 05:42:16 +0000 (+0900) Subject: sh: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y. X-Git-Tag: v2.6.27-rc6~36^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323b8c410a2453f15578c22b0eef50456359bbfc;p=pandora-kernel.git sh: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y. This patch fixes a problem within the SH implementation of resume_kernel code, that implements in assembly the bulk of preempt_schedule_irq function without taking care of the extra code needed to handle the BKL preemptible. The patch basically consists of removing this asm code and calling the common C implementation (see kernel/sched.c) as other archs do. Another change is the missing 'cli' macro invocation at the beginning of the resume_kernel. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Carmelo Amoroso Signed-off-by: Paul Mundt --- Reading git-diff-tree failed