since core[0] is the BSP, and this code is only run on the BSP when querying the...
commitc2eeb7e10cfbe283a7e47836f59b90cc2cab83c7
authorNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 3 Apr 2017 23:35:48 +0000 (3 23:35 +0000)
committerNicJA <NicJA@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 3 Apr 2017 23:35:48 +0000 (3 23:35 +0000)
treec07119759035a7118a43620f73dadf24cca5798b
parentce08a590cfd0e26fd595857c839778b25c190c64
since core[0] is the BSP, and this code is only run on the BSP when querying the CPU's, we need to cache the current CPU's Id - otherwise the actual value checked against is uninitialized.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54449 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/all-pc/kernel/acpi_apic.c