Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93462
b: refs/heads/master
c: 36f8a2c
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Apr 24, 2008
1 parent 9a089d2 commit 2747618
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7ebf352b2e04ee89efb426e33dd450d8f1cfcd5
refs/heads/master: 36f8a2c4c61e3559a95190e457b431c6900859b4
5 changes: 5 additions & 0 deletions trunk/arch/powerpc/platforms/pseries/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ config LPARCFG
help
Provide system capacity information via human readable
<key word>=<value> pairs through a /proc/ppc64/lparcfg interface.

config PPC_PSERIES_DEBUG
depends on PPC_PSERIES && PPC_EARLY_DEBUG
bool "Enable extra debug logging in platforms/pseries"
default y
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/platforms/pseries/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ ifeq ($(CONFIG_PPC64),y)
EXTRA_CFLAGS += -mno-minimal-toc
endif

ifeq ($(CONFIG_PPC_PSERIES_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

obj-y := lpar.o hvCall.o nvram.o reconfig.o \
setup.o iommu.o ras.o rtasd.o \
firmware.o power.o
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/eeh.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <asm/ppc-pci.h>
#include <asm/rtas.h>

#undef DEBUG

/** Overview:
* EEH, or "Extended Error Handling" is a PCI bridge technology for
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/eeh_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <asm/pci-bridge.h>
#include <asm/ppc-pci.h>

#undef DEBUG

/**
* The pci address cache subsystem. This subsystem places
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/firmware.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
* 2 of the License, or (at your option) any later version.
*/

#undef DEBUG

#include <asm/firmware.h>
#include <asm/prom.h>
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/platforms/pseries/ras.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ static int ras_check_exception_token;
static irqreturn_t ras_epow_interrupt(int irq, void *dev_id);
static irqreturn_t ras_error_interrupt(int irq, void *dev_id);

/* #define DEBUG */


static void request_ras_irqs(struct device_node *np,
irq_handler_t handler,
Expand Down Expand Up @@ -237,7 +235,7 @@ static irqreturn_t ras_error_interrupt(int irq, void *dev_id)
printk(KERN_EMERG "Error: Fatal hardware error <0x%lx 0x%x>\n",
*((unsigned long *)&ras_log_buf), status);

#ifndef DEBUG
#ifndef DEBUG_RTAS_POWER_OFF
/* Don't actually power off when debugging so we can test
* without actually failing while injecting errors.
* Error data will not be logged to syslog.
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/platforms/pseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
* bootup setup stuff..
*/

#undef DEBUG

#include <linux/cpu.h>
#include <linux/errno.h>
#include <linux/sched.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* 2 of the License, or (at your option) any later version.
*/

#undef DEBUG

#include <linux/kernel.h>
#include <linux/module.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/xics.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* 2 of the License, or (at your option) any later version.
*/

#undef DEBUG

#include <linux/types.h>
#include <linux/threads.h>
Expand Down

0 comments on commit 2747618

Please sign in to comment.