diff options
Diffstat (limited to 'cpukit/libcsupport/src/cachealignedalloc.c')
-rw-r--r-- | cpukit/libcsupport/src/cachealignedalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/cachealignedalloc.c b/cpukit/libcsupport/src/cachealignedalloc.c index a704859dbe..764fdfb331 100644 --- a/cpukit/libcsupport/src/cachealignedalloc.c +++ b/cpukit/libcsupport/src/cachealignedalloc.c @@ -15,7 +15,7 @@ void *rtems_cache_aligned_malloc( size_t nbytes ) { - size_t line_size = rtems_cache_get_data_line_size(); + size_t line_size = rtems_cache_get_maximal_line_size(); if ( line_size > 0 ) { /* Assume that the cache line size is a power of two */ |