diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-23 14:54:51 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-25 10:07:42 +0200 |
commit | 0d362ff397a42ec2fdae258a7cc61a8c07ffd8b5 (patch) | |
tree | 68af8a068a69832b2130efcce1be2c39a0ffc002 /cpukit/include/rtems/score/smpimpl.h | |
parent | tm27: Fix prototype warnings (diff) | |
download | rtems-0d362ff397a42ec2fdae258a7cc61a8c07ffd8b5.tar.bz2 |
score: _SMP_Inter_processor_interrupt_handler()
Pass current processor control via parameter since it may be already
available at the caller side.
Diffstat (limited to 'cpukit/include/rtems/score/smpimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/smpimpl.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index 48e6a12498..fd92f655c7 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -165,12 +165,11 @@ void _SMP_Multicast_actions_process( void ); * * @return The received message. */ -static inline long unsigned _SMP_Inter_processor_interrupt_handler( void ) +static inline long unsigned _SMP_Inter_processor_interrupt_handler( + Per_CPU_Control *cpu_self +) { - Per_CPU_Control *cpu_self; - unsigned long message; - - cpu_self = _Per_CPU_Get(); + unsigned long message; /* * In the common case the inter-processor interrupt is issued to carry out a |