Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-38

From: Michal Schmidt (xschmi00_at_stud.feec.vutbr.cz)
Date: 06/30/05

  • Next message: Dmitry Torokhov: "Re: device_remove_file and disconnect"
    Date:	Thu, 30 Jun 2005 22:38:54 +0200
    To: William Weston <weston@sysex.net>
    
    
    

    Here are some more fixes for -RT-2.6.12-final-V0.7.50-38 needed to
    compile it on x86_64.

    Michal

    
    

    diff -Nurp -X dontdiff.new linux-RT/arch/x86_64/mm/init.c linux-RT.mich/arch/x86_64/mm/init.c
    --- linux-RT/arch/x86_64/mm/init.c 2005-06-30 21:22:33.000000000 +0200
    +++ linux-RT.mich/arch/x86_64/mm/init.c 2005-06-30 22:28:16.000000000 +0200
    @@ -47,7 +47,7 @@ extern int swiotlb;
     
     extern char _stext[];
     
    -DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
    +DEFINE_PER_CPU_LOCKED(struct mmu_gather, mmu_gathers);
     
     /*
      * NOTE: pagetable_init alloc all the fixmap pagetables contiguous on the
    diff -Nurp -X dontdiff.new linux-RT/include/asm-x86_64/percpu.h linux-RT.mich/include/asm-x86_64/percpu.h
    --- linux-RT/include/asm-x86_64/percpu.h 2005-06-30 21:44:37.000000000 +0200
    +++ linux-RT.mich/include/asm-x86_64/percpu.h 2005-06-30 22:26:10.000000000 +0200
    @@ -63,6 +63,9 @@ extern void setup_per_cpu_areas(void);
     #endif /* SMP */
     
     #define DECLARE_PER_CPU(type, name) extern __typeof__(type) per_cpu__##name
    +#define DECLARE_PER_CPU_LOCKED(type, name) \
    + extern spinlock_t per_cpu_lock__##name##_locked; \
    + extern __typeof__(type) per_cpu__##name##_locked
     
     #define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(per_cpu__##var)
     #define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(per_cpu__##var)

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


  • Next message: Dmitry Torokhov: "Re: device_remove_file and disconnect"

    Relevant Pages

    • Re: Possible dcache BUG
      ... During the compile, the above line output this warning: ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Linux GPL and binary module exception clause?
      ... of them for every exported symbol in turn, ... hacked -E:) we don't need to compile for this, ... `...some suburbanite DSL customer who thinks kernel patches are some ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch, 2.6.10-rc2] sched: fix ->nr_uninterruptible handling bugs
      ... > it, run lmbench, then compile a SMP kernel, and run it again. ... The Athlon64 really shines doing atomic ops though, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Compiling cardbus devices monolithic doesnt work?
      ... I should compile a monolithic 2.4 kernel and see what it does...) ... > IIRC hermes provides the low level interface to the device, ... > provides a bridge between the PCMCIA subsystem and orinoco. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] remove obsolete HEAD in kbuild
      ... I just woke up. ... >To compile it in it needs to be listed in obj-y, ... Makefile: remove obsolete HEAD ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)