[PATCH] powerpc: Add asm/debug.h to get powerpc_debugfs_root
Tony Breeds
tony at bakeyournoodle.com
Wed Oct 3 11:52:41 EST 2012
Since the "Disintegrate asm/system.h for PowerPC"
(ae3a197e3d0bfe3f4bf1693723e82dc018c096f3) This has been failing when
DEBUG is #defined.
Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
---
arch/powerpc/kernel/prom.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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)
--
1.7.7.6
More information about the Linuxppc-dev
mailing list