Changeset b318cb13 in rtems


Ignore:
Timestamp:
Dec 10, 2015, 7:10:29 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
938ef78c
Parents:
9ef736a6
git-author:
Sebastian Huber <sebastian.huber@…> (12/10/15 07:10:29)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/10/15 07:32:36)
Message:

sparc: Simplify _CPU_Get_current_per_CPU_control()

Drop the superfluous parenthesis since this confuses the C++ compiler of
some GCC versions. See also

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/rtems/score/cpu.h

    r9ef736a6 rb318cb13  
    12051205register struct Per_CPU_Control *_SPARC_Per_CPU_current __asm__( "g6" );
    12061206
    1207 #define _CPU_Get_current_per_CPU_control() ( _SPARC_Per_CPU_current )
     1207#define _CPU_Get_current_per_CPU_control() _SPARC_Per_CPU_current
    12081208
    12091209#if defined(RTEMS_SMP)
Note: See TracChangeset for help on using the changeset viewer.