Re: [patch] Real-Time Preemption, -RT-2.6.12-rc5-V0.7.47-09

From: Will Dyson
Date: Fri May 27 2005 - 01:01:08 EST


On 5/26/05, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> i have released the -V0.7.47-09 Real-Time Preemption patch, which can be
> downloaded from the usual place:
>
> http://redhat.com/~mingo/realtime-preempt/
>
> Changes:
>
> - merge to -rc5
>
> - small fixes

Building on x86_64 gets me this:

arch/x86_64/kernel/nmi.c: In function `nmi_watchdog_tick':
arch/x86_64/kernel/nmi.c:497: error: `cpu' undeclared (first use in
this function)

I'm guessing the following is what you had intended:

Index: arch/x86_64/kernel/nmi.c
===================================================================
--- cb5507f7a63eaba785afcead3bc5cf7454a8f98d/arch/x86_64/kernel/nmi.c
(mode:100644)
+++ uncommitted/arch/x86_64/kernel/nmi.c (mode:100644)
@@ -492,6 +492,7 @@
{
int sum;
int touched = 0;
+ int cpu = safe_smp_processor_id();

sum = read_pda(apic_timer_irqs);
if (nmi_show_regs[cpu]) {


--
Will Dyson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/