aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2005-10-23 21:41:33 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-27 06:50:46 -0400
commite37bc5df8e96c72f27ec3579499726b656e4e641 (patch)
treed8267f572da54fd3d258a751d477271252fa12bf /arch/powerpc/mm
parent25c8a78b1e00ac0cc640677eda78b462c2cd4c6e (diff)
[PATCH] powerpc: Purge bootinfo.h
With ARCH=powerpc we assume the presence of a device tree, so we don't require any support for the old bi_recs method of passing boot parameters. Likewise, we've never needed it for ppc64, but we still had an include/asm-ppc64/bootinfo.h from which nothing was used. This patch removes that file, and all references to it in arch/ppc64 and arch/powerpc. A related, unused variable 'boot_mem_size' is also removed from setup_32.c. The bootinfo stuff remains in ARCH=ppc for the time being. Built and booted on Power5 (ARCH=ppc64 and ARCH=powerpc), built for 32-bit powermac (ARCH=powerpc and ARCH=ppc). Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm')
-rw-r--r--arch/powerpc/mm/init_32.c1
-rw-r--r--arch/powerpc/mm/mem.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 8dd1f7d0e23c..4612a79dfb6e 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -43,7 +43,6 @@
43#include <asm/machdep.h> 43#include <asm/machdep.h>
44#include <asm/btext.h> 44#include <asm/btext.h>
45#include <asm/tlb.h> 45#include <asm/tlb.h>
46#include <asm/bootinfo.h>
47#include <asm/prom.h> 46#include <asm/prom.h>
48#include <asm/lmb.h> 47#include <asm/lmb.h>
49#include <asm/sections.h> 48#include <asm/sections.h>
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 5e9206715f09..695db6a588ce 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -43,7 +43,6 @@
43#include <asm/machdep.h> 43#include <asm/machdep.h>
44#include <asm/btext.h> 44#include <asm/btext.h>
45#include <asm/tlb.h> 45#include <asm/tlb.h>
46#include <asm/bootinfo.h>
47#include <asm/prom.h> 46#include <asm/prom.h>
48#include <asm/lmb.h> 47#include <asm/lmb.h>
49#include <asm/sections.h> 48#include <asm/sections.h>