[PATCH] ARM: 2768/1: PXA: Add a required header file for LL_DEBUG
authorRichard Purdie <rpurdie@rpsys.net>
Wed, 29 Jun 2005 14:17:49 +0000 (15:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Jun 2005 14:17:49 +0000 (15:17 +0100)
Patch from Richard Purdie

With DEBUG enabled, head.S includes arch/debug-macro.S. On the PXA, this
contains references to the macro io_p2v() so hardware.h needs to be
included.

Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/debug-macro.S

index f288e74b67c2307bdc2587fa66ec724608bbf334..b6ec68879176158e1f6e4dfbf46e4091d8d4aaa9 100644 (file)
@@ -11,6 +11,8 @@
  *
 */
 
+#include "hardware.h"
+
                .macro  addruart,rx
                mrc     p15, 0, \rx, c1, c0
                tst     \rx, #1                 @ MMU enabled?