diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-11-16 15:43:48 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-19 14:46:02 +1100 |
commit | 800fc3eeb0eed3bf98d621c0da24d68cabcf6526 (patch) | |
tree | 23f80f2be4f4fb186505b7d95b0335f6afe37ecd /arch/powerpc/mm/imalloc.c | |
parent | 0e6850f615af510c992ff9753f4d8c385969a17c (diff) | |
download | op-kernel-dev-800fc3eeb0eed3bf98d621c0da24d68cabcf6526.zip op-kernel-dev-800fc3eeb0eed3bf98d621c0da24d68cabcf6526.tar.gz |
[PATCH] powerpc: Remove imalloc.h
asm-ppc64/imalloc.h is only included from files in arch/powerpc/mm.
We already have a header for mm local definitions,
arch/powerpc/mm/mmu_decl.h. Thus, this patch moves the contents of
imalloc.h into mmu_decl.h. The only exception are the definitions of
PHBS_IO_BASE, IMALLOC_BASE and IMALLOC_END. Those are moved into
pgtable.h, next to similar definitions of VMALLOC_START and
VMALLOC_SIZE.
Built for multiplatform 32bit and 64bit (ARCH=powerpc).
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm/imalloc.c')
-rw-r--r-- | arch/powerpc/mm/imalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/imalloc.c b/arch/powerpc/mm/imalloc.c index f4ca29c..f9587bc 100644 --- a/arch/powerpc/mm/imalloc.c +++ b/arch/powerpc/mm/imalloc.c @@ -14,9 +14,10 @@ #include <asm/pgalloc.h> #include <asm/pgtable.h> #include <asm/semaphore.h> -#include <asm/imalloc.h> #include <asm/cacheflush.h> +#include "mmu_decl.h" + static DECLARE_MUTEX(imlist_sem); struct vm_struct * imlist = NULL; |