瀏覽代碼

[PATCH] ARM: 2768/1: PXA: Add a required header file for LL_DEBUG

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>
Richard Purdie 20 年之前
父節點
當前提交
9ec3c75cde
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-arm/arch-pxa/debug-macro.S

+ 2 - 0
include/asm-arm/arch-pxa/debug-macro.S

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