Home
last modified time | relevance | path

Searched refs:cpu_to_ptr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/c6x/kernel/
Dsetup.c406 #define cpu_to_ptr(n) ((void *)((long)(n)+1)) macro
445 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL; in c_start()
/Linux-v5.4/arch/arc/kernel/
Dsetup.c612 #define cpu_to_ptr(c) ((void *)(0xFFFF0000 | (unsigned int)(c))) macro
669 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL; in c_start()