From 7e5c9b895e52c76376386e54a0008c3a9e4a1698 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Nov 2014 14:58:13 +0100 Subject: rtems: Move rtems_cache_aligned_malloc() Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal. --- c/src/lib/libcpu/sh/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'c/src/lib/libcpu/sh/Makefile.am') diff --git a/c/src/lib/libcpu/sh/Makefile.am b/c/src/lib/libcpu/sh/Makefile.am index 532597fdbf..5c0a6ed960 100644 --- a/c/src/lib/libcpu/sh/Makefile.am +++ b/c/src/lib/libcpu/sh/Makefile.am @@ -8,8 +8,7 @@ include_libcpudir = $(includedir)/libcpu include_libcpu_HEADERS = ../shared/include/cache.h noinst_PROGRAMS += cache.rel -cache_rel_SOURCES = ../shared/src/cache_aligned_malloc.c -cache_rel_SOURCES += ../shared/src/cache_manager.c +cache_rel_SOURCES = ../shared/src/cache_manager.c cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/cache cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) -- cgit v1.2.3