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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/26/05, Ingo Molnar <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux