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

Jeremy Fitzhardinge
2007-04-14T21:20:15Z

[-- Attachment #1: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch --]
[-- Type: text/plain, Size: 649 bytes --]

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>

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

--