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
- Previous message: Linas Vepstas: "PCI Power management (was: Re: [PATCH 4/13]: PCI Err: e100 ethernet driver recovery"
- In reply to: William Weston: "Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-37"
- Next in thread: Ingo Molnar: "Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-38"
- Reply: Ingo Molnar: "Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-38"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: Linas Vepstas: "PCI Power management (was: Re: [PATCH 4/13]: PCI Err: e100 ethernet driver recovery"
- In reply to: William Weston: "Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-37"
- Next in thread: Ingo Molnar: "Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-38"
- Reply: Ingo Molnar: "Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-38"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|