diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-25 14:58:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-25 16:08:16 +0100 |
commit | 7e5c9b895e52c76376386e54a0008c3a9e4a1698 (patch) | |
tree | bb8f7db25258fc1438c58a60aa950d782d0d77ab /c/src/lib/libcpu/sh | |
parent | sptest/spcache01: New test cases (diff) | |
download | rtems-7e5c9b895e52c76376386e54a0008c3a9e4a1698.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libcpu/sh')
-rw-r--r-- | c/src/lib/libcpu/sh/Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
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) |