Patchwork powerpc: Add asm/debug.h to get powerpc_debugfs_root

login
register
mail settings
Submitter Tony Breeds
Date Oct. 3, 2012, 1:52 a.m.
Message ID <1349229161-6380-1-git-send-email-tony@bakeyournoodle.com>
Download mbox | patch
Permalink /patch/188694/
State Accepted
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Tony Breeds - Oct. 3, 2012, 1:52 a.m.
Since the "Disintegrate asm/system.h for PowerPC"
(ae3a197e3d0bfe3f4bf1693723e82dc018c096f3) This has been failing when
DEBUG is #defined.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
---
 arch/powerpc/kernel/prom.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 8dfd43f..3bd6c84 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -57,6 +57,7 @@ 
 
 #include <mm/mmu_decl.h>
 #include <asm/udbg.h>
+#include <asm/debug.h>
 
 #ifdef DEBUG
 #define DBG(fmt...) udbg_printf(fmt)