Ignore:
Timestamp:
Jun 14, 2000, 8:32:44 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b91b1cf
Parents:
9b05600
Message:

Patch from John Cotton <john.cotton@…> to correct cache
routine naming to follow RTEMS package/object.method rule.
This patch also eliminated calls to the obsolete routine
m68k_enable_caching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/shared/src/cache_aligned_malloc.c

    r9b05600 r5e77d129  
    3333   * block beyond the header.
    3434   */
    35 #if defined(_CPU_DATA_CACHE_ALIGNMENT)
     35#if defined(CPU_DATA_CACHE_ALIGNMENT)
    3636  return (void *) ((((unsigned long)
    37      malloc( nbytes + _CPU_DATA_CACHE_ALIGNMENT - 1 ))
    38         + _CPU_DATA_CACHE_ALIGNMENT - 1 ) &(~(_CPU_DATA_CACHE_ALIGNMENT - 1)) );
     37     malloc( nbytes + CPU_DATA_CACHE_ALIGNMENT - 1 ))
     38        + CPU_DATA_CACHE_ALIGNMENT - 1 ) &(~(CPU_DATA_CACHE_ALIGNMENT - 1)) );
    3939#else
    4040  return malloc( nbytes );
Note: See TracChangeset for help on using the changeset viewer.