Searched refs:cpu_to_ptr (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/arch/tile/kernel/
H A Dproc.c40 #define cpu_to_ptr(n) ((void *)((long)(n)+1)) macro
77 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL; c_start()
/linux-4.4.14/arch/c6x/kernel/
H A Dsetup.c441 #define cpu_to_ptr(n) ((void *)((long)(n)+1)) macro
480 return *pos < nr_cpu_ids ? cpu_to_ptr(*pos) : NULL; c_start()
/linux-4.4.14/arch/arc/kernel/
H A Dsetup.c462 #define cpu_to_ptr(c) ((void *)(0xFFFF0000 | (unsigned int)(c))) macro
505 return *pos < num_possible_cpus() ? cpu_to_ptr(*pos) : NULL; c_start()

Completed in 118 milliseconds