diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-11-06 17:49:43 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-06 20:37:45 -0500 |
commit | dcad47fc423ac9f4934579af814fa2dad5c8081b (patch) | |
tree | 46917c934f2fe51dfc517184d4275ed4ddca7960 /arch/powerpc/kernel/setup_64.c | |
parent | 723925b7b138cecb29d76169d20149255d354a7a (diff) |
[PATCH] powerpc: Kill ppcdebug
The ancient ppcdebug/PPCDBG mechanism is now only used in two places.
First, in the hash setup code, one of the bits allows the size of the
hash table to be reduced by a factor of 8 - which would be better
accomplished with a command line option for that purpose. The other
was a bunch of bus walking related messages in the iSeries code, which
would seem to be insufficient reason to keep the mechanism.
This patch removes the last traces of this mechanism.
Built and booted on iSeries and pSeries POWER5 LPAR (ARCH=powerpc).
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_64.c')
-rw-r--r-- | arch/powerpc/kernel/setup_64.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 6b52cce872be..5f8154f95f96 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel/setup_64.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <asm/elf.h> | 41 | #include <asm/elf.h> |
42 | #include <asm/machdep.h> | 42 | #include <asm/machdep.h> |
43 | #include <asm/paca.h> | 43 | #include <asm/paca.h> |
44 | #include <asm/ppcdebug.h> | ||
45 | #include <asm/time.h> | 44 | #include <asm/time.h> |
46 | #include <asm/cputable.h> | 45 | #include <asm/cputable.h> |
47 | #include <asm/sections.h> | 46 | #include <asm/sections.h> |
@@ -60,6 +59,7 @@ | |||
60 | #include <asm/firmware.h> | 59 | #include <asm/firmware.h> |
61 | #include <asm/systemcfg.h> | 60 | #include <asm/systemcfg.h> |
62 | #include <asm/xmon.h> | 61 | #include <asm/xmon.h> |
62 | #include <asm/udbg.h> | ||
63 | 63 | ||
64 | #ifdef DEBUG | 64 | #ifdef DEBUG |
65 | #define DBG(fmt...) udbg_printf(fmt) | 65 | #define DBG(fmt...) udbg_printf(fmt) |
@@ -244,12 +244,6 @@ void __init early_setup(unsigned long dt_ptr) | |||
244 | DBG(" -> early_setup()\n"); | 244 | DBG(" -> early_setup()\n"); |
245 | 245 | ||
246 | /* | 246 | /* |
247 | * Fill the default DBG level (do we want to keep | ||
248 | * that old mecanism around forever ?) | ||
249 | */ | ||
250 | ppcdbg_initialize(); | ||
251 | |||
252 | /* | ||
253 | * Do early initializations using the flattened device | 247 | * Do early initializations using the flattened device |
254 | * tree, like retreiving the physical memory map or | 248 | * tree, like retreiving the physical memory map or |
255 | * calculating/retreiving the hash table size | 249 | * calculating/retreiving the hash table size |
@@ -516,7 +510,6 @@ void __init setup_system(void) | |||
516 | 510 | ||
517 | printk("-----------------------------------------------------\n"); | 511 | printk("-----------------------------------------------------\n"); |
518 | printk("ppc64_pft_size = 0x%lx\n", ppc64_pft_size); | 512 | printk("ppc64_pft_size = 0x%lx\n", ppc64_pft_size); |
519 | printk("ppc64_debug_switch = 0x%lx\n", ppc64_debug_switch); | ||
520 | printk("ppc64_interrupt_controller = 0x%ld\n", ppc64_interrupt_controller); | 513 | printk("ppc64_interrupt_controller = 0x%ld\n", ppc64_interrupt_controller); |
521 | printk("systemcfg = 0x%p\n", systemcfg); | 514 | printk("systemcfg = 0x%p\n", systemcfg); |
522 | printk("systemcfg->platform = 0x%x\n", systemcfg->platform); | 515 | printk("systemcfg->platform = 0x%x\n", systemcfg->platform); |