diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-10-23 21:41:33 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-27 06:50:46 -0400 |
commit | e37bc5df8e96c72f27ec3579499726b656e4e641 (patch) | |
tree | d8267f572da54fd3d258a751d477271252fa12bf /arch | |
parent | 25c8a78b1e00ac0cc640677eda78b462c2cd4c6e (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')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 1 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 5 | ||||
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 1 | ||||
-rw-r--r-- | arch/powerpc/mm/init_32.c | 1 | ||||
-rw-r--r-- | arch/powerpc/mm/mem.c | 1 | ||||
-rw-r--r-- | arch/ppc64/kernel/prom.c | 1 | ||||
-rw-r--r-- | arch/ppc64/kernel/prom_init.c | 1 |
7 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 2ad9947bd675..9750b3cd8ecd 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <asm/pgtable.h> | 41 | #include <asm/pgtable.h> |
42 | #include <asm/pci.h> | 42 | #include <asm/pci.h> |
43 | #include <asm/iommu.h> | 43 | #include <asm/iommu.h> |
44 | #include <asm/bootinfo.h> | ||
45 | #include <asm/btext.h> | 44 | #include <asm/btext.h> |
46 | #include <asm/sections.h> | 45 | #include <asm/sections.h> |
47 | #include <asm/machdep.h> | 46 | #include <asm/machdep.h> |
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 0cac112ca89d..21ef643a0208 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <asm/prom.h> | 24 | #include <asm/prom.h> |
25 | #include <asm/processor.h> | 25 | #include <asm/processor.h> |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/bootinfo.h> | ||
28 | #include <asm/setup.h> | 27 | #include <asm/setup.h> |
29 | #include <asm/amigappc.h> | 28 | #include <asm/amigappc.h> |
30 | #include <asm/smp.h> | 29 | #include <asm/smp.h> |
@@ -60,10 +59,6 @@ struct ide_machdep_calls ppc_ide_md; | |||
60 | int __irq_offset_value; | 59 | int __irq_offset_value; |
61 | EXPORT_SYMBOL(__irq_offset_value); | 60 | EXPORT_SYMBOL(__irq_offset_value); |
62 | 61 | ||
63 | /* Used with the BI_MEMSIZE bootinfo parameter to store the memory | ||
64 | size value reported by the boot loader. */ | ||
65 | unsigned long boot_mem_size; | ||
66 | |||
67 | unsigned long ISA_DMA_THRESHOLD; | 62 | unsigned long ISA_DMA_THRESHOLD; |
68 | unsigned int DMA_MODE_READ; | 63 | unsigned int DMA_MODE_READ; |
69 | unsigned int DMA_MODE_WRITE; | 64 | unsigned int DMA_MODE_WRITE; |
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 721adeea601d..a8f7ff5ab1a4 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <asm/prom.h> | 37 | #include <asm/prom.h> |
38 | #include <asm/processor.h> | 38 | #include <asm/processor.h> |
39 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
40 | #include <asm/bootinfo.h> | ||
41 | #include <asm/smp.h> | 40 | #include <asm/smp.h> |
42 | #include <asm/elf.h> | 41 | #include <asm/elf.h> |
43 | #include <asm/machdep.h> | 42 | #include <asm/machdep.h> |
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> |
diff --git a/arch/ppc64/kernel/prom.c b/arch/ppc64/kernel/prom.c index a0866f12647f..cd41a47dd43f 100644 --- a/arch/ppc64/kernel/prom.c +++ b/arch/ppc64/kernel/prom.c | |||
@@ -46,7 +46,6 @@ | |||
46 | #include <asm/pgtable.h> | 46 | #include <asm/pgtable.h> |
47 | #include <asm/pci.h> | 47 | #include <asm/pci.h> |
48 | #include <asm/iommu.h> | 48 | #include <asm/iommu.h> |
49 | #include <asm/bootinfo.h> | ||
50 | #include <asm/ppcdebug.h> | 49 | #include <asm/ppcdebug.h> |
51 | #include <asm/btext.h> | 50 | #include <asm/btext.h> |
52 | #include <asm/sections.h> | 51 | #include <asm/sections.h> |
diff --git a/arch/ppc64/kernel/prom_init.c b/arch/ppc64/kernel/prom_init.c index f252670874a4..69924ba4d7d9 100644 --- a/arch/ppc64/kernel/prom_init.c +++ b/arch/ppc64/kernel/prom_init.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <asm/pgtable.h> | 44 | #include <asm/pgtable.h> |
45 | #include <asm/pci.h> | 45 | #include <asm/pci.h> |
46 | #include <asm/iommu.h> | 46 | #include <asm/iommu.h> |
47 | #include <asm/bootinfo.h> | ||
48 | #include <asm/ppcdebug.h> | 47 | #include <asm/ppcdebug.h> |
49 | #include <asm/btext.h> | 48 | #include <asm/btext.h> |
50 | #include <asm/sections.h> | 49 | #include <asm/sections.h> |