[PATCH 01/17] score: Move SMP interrupt stack initialization

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 18 13:47:59 UTC 2014


On 2014-02-18 14:40, Gedare Bloom wrote:
>>   #if defined(_CPU_Interrupt_stack_setup)
>> >-  _CPU_Interrupt_stack_setup(_CPU_Interrupt_stack_low, _CPU_Interrupt_stack_high);
>> >+      _CPU_Interrupt_stack_setup(
>> >+        per_cpu->interrupt_stack_low,
>> >+        per_cpu->interrupt_stack_high
>> >+      );
> This could use the local variables 'low' and 'high' to be on one line?

No, this _CPU_Interrupt_stack_setup() is a nasty macro that might want to play 
with the real memory locations.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list