Re: [patch] Real-Time Preemption, -RT-2.6.12-rc2-V0.7.44-00

Lee Revell
2005-04-08T17:19:10Z

On Fri, 2005-04-08 at 16:22 +0100, Rui Nuno Capela wrote:
> > Our first victim!! :-)
> >
>
> No kidding!?
>

V0.7.44-02 does not even compile for me. It appears to be full of merge
errors.

I get these errors with "make oldconfig":

HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -o arch/i386/Kconfig
lib/Kconfig.RT:160:warning: choice values currently only support a single prompt
lib/Kconfig.RT:173:warning: choice values currently only support a single prompt
lib/Kconfig.RT:190:warning: choice values currently only support a single prompt
lib/Kconfig.RT:211:warning: choice values currently only support a single prompt
lib/Kconfig.RT:7:warning: choice values currently only support a single prompt
lib/Kconfig.RT:20:warning: choice values currently only support a single prompt
lib/Kconfig.RT:37:warning: choice values currently only support a single prompt
lib/Kconfig.RT:58:warning: choice values currently only support a single prompt
#
# using defaults found in .config

Then, looks like mcount-wrapper.S is two copies of the same file. To
have any chance of building this patch was required:

--- arch/i386/kernel/mcount-wrapper.S~ 2005-04-07 19:02:33.000000000 -0400
+++ arch/i386/kernel/mcount-wrapper.S 2005-04-07 19:52:24.000000000 -0400
@@ -25,30 +25,3 @@
out:
ret

-/*
- * linux/arch/i386/mcount-wrapper.S
- *
- * Copyright (C) 2004 Ingo Molnar
- */
-
-.globl mcount
-mcount:
-
- cmpl $0, mcount_enabled
- jz out
-
- push %ebp
- mov %esp, %ebp
- pushl %eax
- pushl %ecx
- pushl %edx
-
- call __mcount
-
- popl %edx
- popl %ecx
- popl %eax
- popl %ebp
-out:
- ret
-

And it still bombs out here. This is where I gave up:

CC kernel/rt.o
kernel/rt.c:1931: error: redefinition of `pi_lock'
kernel/rt.c:55: error: `pi_lock' previously defined here
kernel/rt.c:2037: error: redefinition of `zap_rt_locks'
kernel/rt.c:161: error: `zap_rt_locks' previously defined here
kernel/rt.c:2382: error: redefinition of `check_pi_list_present'
kernel/rt.c:555: error: `check_pi_list_present' previously defined here
kernel/rt.c:2387: error: redefinition of `check_pi_list_empty'
kernel/rt.c:560: error: `check_pi_list_empty' previously defined here
kernel/rt.c:2398: error: redefinition of `change_owner'
kernel/rt.c:571: error: `change_owner' previously defined here
kernel/rt.c:2420: error: redefinition of `pi_setprio'
kernel/rt.c:593: error: `pi_setprio' previously defined here

[etc]

Lee