[PATCH 01/28] revert account-for-module-percpu-space-separately-from-kernel-percpu

From: Jeremy Fitzhardinge
Date: Sat Apr 14 2007 - 17:21:00 EST


Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>

---
include/asm-i386/percpu.h | 10 ----------
1 file changed, 10 deletions(-)

===================================================================
--- a/include/asm-i386/percpu.h
+++ b/include/asm-i386/percpu.h
@@ -4,16 +4,6 @@
#ifndef __ASSEMBLY__
#include <asm-generic/percpu.h>
#else
-
-#ifdef CONFIG_MODULES
-# define PERCPU_MODULE_RESERVE 8192
-#else
-# define PERCPU_MODULE_RESERVE 0
-#endif
-
-#define PERCPU_ENOUGH_ROOM \
- (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \
- PERCPU_MODULE_RESERVE)

/*
* PER_CPU finds an address of a per-cpu variable.

--

-
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/