[RFC PATCH 08/09] robust VM per_cpu i386 header
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: LKML <linux-kernel@xxxxxxxxxxxxxxx>
- Subject: [RFC PATCH 08/09] robust VM per_cpu i386 header
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Wed, 17 May 2006 06:01:26 -0400 (EDT)
- Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, Nick Piggin <nickpiggin@xxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Martin Mares <mj@xxxxxxxxxxxxxxxxxxxxxxxx>, bjornw@xxxxxxxx, schwidefsky@xxxxxxxxxx, benedict.gaster@xxxxxxxxxx, lethal@xxxxxxxxxxxx, Chris Zankel <chris@xxxxxxxxxx>, Marc Gauthier <marc@xxxxxxxxxxxxx>, Joe Taylor <joe@xxxxxxxxxxxxx>, David Mosberger-Tang <davidm@xxxxxxxxxx>, rth@xxxxxxxxxxx, spyro@xxxxxxx, starvik@xxxxxxxx, tony.luck@xxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, ralf@xxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, grundler@xxxxxxxxxxxxxxxx, parisc-linux@xxxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxx, linux390@xxxxxxxxxx, davem@xxxxxxxxxxxxx, arnd@xxxxxxxx, kenneth.w.chen@xxxxxxxxx, sam@xxxxxxxxxxxx, clameter@xxxxxxx, kiran@xxxxxxxxxxxx
- In-reply-to: <Pine.LNX.4.58.0605170547490.8408@xxxxxxxxxxxxxxxxxxx>
- References: <Pine.LNX.4.58.0605170547490.8408@xxxxxxxxxxxxxxxxxxx>
This patch adds the __ARCH_HAS_VM_PERCPU to i386 and defines
the PERCPU_START macro.
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
Index: linux-2.6.16-test/include/asm-i386/percpu.h
===================================================================
--- linux-2.6.16-test.orig/include/asm-i386/percpu.h 2006-05-17 04:32:27.000000000 -0400
+++ linux-2.6.16-test/include/asm-i386/percpu.h 2006-05-17 05:00:00.000000000 -0400
@@ -1,6 +1,16 @@
#ifndef __ARCH_I386_PERCPU__
#define __ARCH_I386_PERCPU__
+#ifdef CONFIG_HAS_VM_PERCPU
+#define __ARCH_HAS_VM_PERCPU
+#include <asm/fixmap.h>
+
+/*
+ * Virtual address space for the percpu area.
+ */
+#define PERCPU_START (__fix_to_virt(FIX_PERCPU_END))
+#endif /* CONFIG_HAS_VM_PERCPU */
+
#include <asm-generic/percpu.h>
#endif /* __ARCH_I386_PERCPU__ */
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]