Ignore:
Timestamp:
Mar 13, 2018, 4:14:15 PM (3 years ago)
Author:
Amaan Cheval <amaan.cheval@…>
Branches:
5, master
Children:
ac04bb85
Parents:
51614c01
git-author:
Amaan Cheval <amaan.cheval@…> (03/13/18 16:14:15)
git-committer:
Joel Sherrill <joel@…> (03/16/18 16:01:55)
Message:

i386/smp: Export _CPU_SMP_Prepare_start_multitasking as a function

When it's a macro, a function declaration causes a compiler error due to the
macro being expanded.

Partial log showing error:
https://gist.github.com/AmaanC/ab3521141479aa6f61ea25f5d74ebb4d

Closes #3331

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/i386/include/rtems/score/cpu.h

    r51614c01 refa0039e  
    474474  void _CPU_SMP_Finalize_initialization( uint32_t cpu_count );
    475475
    476   /* Nothing to do */
    477   #define _CPU_SMP_Prepare_start_multitasking() do { } while ( 0 )
     476  void _CPU_SMP_Prepare_start_multitasking( void );
    478477
    479478  uint32_t _CPU_SMP_Get_current_processor( void );
Note: See TracChangeset for help on using the changeset viewer.