[PATCH 1/2] tm27: Use generic cpu index accessor

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Dec 11 05:48:06 UTC 2020


On 10/12/2020 21:42, Kinsey Moore wrote:
> The arm_cp15 function for accessing the current CPU index is specific
> to ARMv7 while this header is used for ARMv8 as well. Instead, use a
> generic accessor that is part of the standard CPU API.

I am fine with this fix, however, this is basically now the same 
approach as in my v2 patch:

https://lists.rtems.org/pipermail/devel/2020-December/063693.html

Since the tm27 test is configured to use only one CPU, the current 
processor is always 0.

-- 
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