[PATCH 29/62] libcpu/m68k/mcf532x/cache/cachepd.c: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 20:00:19 UTC 2014


---
 c/src/lib/libcpu/m68k/mcf532x/cache/cachepd.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/c/src/lib/libcpu/m68k/mcf532x/cache/cachepd.c b/c/src/lib/libcpu/m68k/mcf532x/cache/cachepd.c
index 106f107..5a93ea9 100644
--- a/c/src/lib/libcpu/m68k/mcf532x/cache/cachepd.c
+++ b/c/src/lib/libcpu/m68k/mcf532x/cache/cachepd.c
@@ -6,8 +6,10 @@
 
 #include <rtems.h>
 #include <mcf532x/mcf532x.h>
+#include "cache_.h"
 
-#define m68k_set_cacr(_cacr) __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
+#define m68k_set_cacr(_cacr) \
+  __asm__ volatile ("movec %0,%%cacr" : : "d" (_cacr))
 
 /*
  * Read/write copy of common cache
-- 
1.9.3




More information about the devel mailing list