Changeset 5bf0c1a in rtems


Ignore:
Timestamp:
11/28/18 13:52:22 (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
a919807
Parents:
aa5c462
git-author:
Sebastian Huber <sebastian.huber@…> (11/28/18 13:52:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/28/18 13:52:55)
Message:

bsps/sparc: Fix SMP build

Update #3622.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/shared/cache/cacheimpl.h

    raa5c462 r5bf0c1a  
    4242#include <rtems.h>
    4343
     44#if defined(RTEMS_SMP) && defined(CPU_CACHE_NO_INSTRUCTION_CACHE_SNOOPING)
     45#include <rtems/score/smpimpl.h>
     46#endif
     47
    4448#if CPU_DATA_CACHE_ALIGNMENT > CPU_CACHE_LINE_BYTES
    4549#error "CPU_DATA_CACHE_ALIGNMENT is greater than CPU_CACHE_LINE_BYTES"
     
    234238  && defined(RTEMS_SMP) \
    235239  && defined(CPU_CACHE_NO_INSTRUCTION_CACHE_SNOOPING)
     240
     241typedef struct {
     242  const void *addr;
     243  size_t size;
     244} smp_cache_area;
    236245
    237246static void smp_cache_inst_inv(void *arg)
Note: See TracChangeset for help on using the changeset viewer.