Add system call to linux
Open include/uapi/asm-generic/unistd.h
#define __NR_get_cpuid 452
__SYSCALL(__NR_get_cpuid, sys_get_cpuid)
#undef __NR_syscalls
#define __NR_syscalls 453
Open linux/kernel/sys.c
SYSCALL_DEFINE0(get_cpuid)
{
return raw_smp_processor_id();
}