revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-pc / kernel / getcpunumber.c
blobe4c55450de0a24f4394948797ab1a9f54b4bd843
1 /*
2 Copyright © 1995-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/kernel.h>
7 #include <aros/libcall.h>
9 #include "kernel_base.h"
10 #include "kernel_intern.h"
11 #include "apic.h"
13 AROS_LH0(unsigned int, KrnGetCPUNumber,
14 struct KernelBase *, KernelBase, 41, Kernel)
16 AROS_LIBFUNC_INIT
18 return core_APIC_GetNumber(KernelBase->kb_PlatformData->kb_APIC);
20 AROS_LIBFUNC_EXIT