diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-09-05 14:42:16 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-05 14:42:16 +0900 |
commit | 323b8c410a2453f15578c22b0eef50456359bbfc (patch) | |
tree | da216c011548831a3448da414732e94de81a6c43 /lib/debugobjects.c | |
parent | 3c31bf73134038a417a9ae3fa3c02c279b42c550 (diff) | |
download | blackbird-op-linux-323b8c410a2453f15578c22b0eef50456359bbfc.tar.gz blackbird-op-linux-323b8c410a2453f15578c22b0eef50456359bbfc.zip |
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 <peppe.cavallaro@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions