Bernhard Walle wrote:
Hello,
I have a kernel 2.6.15.6 with
http://download.gna.org/adeos/patches/v2.6/i386/adeos-ipipe-2.6.15-i386-1.2-03.patch
patch. In this configuration, CONFIG_PREEMPT doesn't work any more,
i.e. the kernel is not preempted.
With the kernel without ADEOS patch, it works fine. A test program is
at http://www.bwalle.de/temp/kern-preempt.tar.bz2.
Do you know what's wrong?
This should improve things quite a bit:
--- arch/i386/kernel/entry.S~ 2006-03-21 14:34:51.000000000 +0100
+++ arch/i386/kernel/entry.S 2006-04-18 15:38:50.000000000 +0200
@@ -231,7 +231,7 @@
#ifdef CONFIG_PREEMPT
ENTRY(resume_kernel)
- CLI
+ cli
cmpl $0,TI_preempt_count(%ebp) # non-zero preempt_count ?
jnz restore_nocheck
need_resched:
--
Philippe.
_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main