From fcd3c87e495f3c48b70c919869fb1e0b93d4880b Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Fri, 24 Jul 2009 00:17:48 +0200 Subject: Make include/common.h usable by assembler code Commit 70ebf316 factored out the ROUND() macro into include/common.h, not realizing that the primary use of this macro on AT91 systems was in start.S where common.h was not included, and could not be included because it contains a lot of C code which the assembler doesn't understand. This patch wraps such code in common.h in a "#ifndef __ASSEMBLY__" construct, and then adds an include to cpu/arm926ejs/start.S thus solving the problem. Signed-off-by: Wolfgang Denk --- cpu/arm926ejs/start.S | 1 + 1 file changed, 1 insertion(+) (limited to 'cpu') diff --git a/cpu/arm926ejs/start.S b/cpu/arm926ejs/start.S index 0275b6650..804332258 100644 --- a/cpu/arm926ejs/start.S +++ b/cpu/arm926ejs/start.S @@ -32,6 +32,7 @@ #include +#include #include #if defined(CONFIG_OMAP1610) -- cgit v1.2.3