Hi All, attached patch solves a kernel OOPS discovered while running LTP testsuite (doio test) with kernel 2.6.23.y (rootf on hd). Attached for your reference the output of the test and the kernel oops. The problems is 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. In the new kernels (2.6.26 and later) this patch may be not so required because BKL will be again *not* preemptible; anyway, it may be worth aligning the SH implementation with others to rely on common C code. Best regards, Carmelo & Peppe