Home
last modified time | relevance | path

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

/Linux-v4.19/arch/c6x/kernel/
Dsetup.c439 #define cpu_to_ptr(n) ((void *)((long)(n)+1)) macro
478 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL; in c_start()
/Linux-v4.19/arch/arc/kernel/
Dsetup.c550 #define cpu_to_ptr(c) ((void *)(0xFFFF0000 | (unsigned int)(c))) macro
607 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL; in c_start()