/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SMP_H #define __ASM_SMP_H #include <linux/threads.h> #include <linux/cpumask.h> #include <linux/bitops.h> #include <asm/pal.h> /* HACK: Cabrio WHAMI return value is bogus if more than 8 bits used.. :-( */
static __inline__ unsigned char __hard_smp_processor_id(void) { register unsigned char __r0 __asm__("$0"); __asm__ __volatile__( "call_pal %1 #whami" : "=r"(__r0) :"i" (PAL_whami) : "$1", "$22", "$23", "$24", "$25"); return __r0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 119 | 68.39% | 14 | 56.00% |
Linus Torvalds | 22 | 12.64% | 2 | 8.00% |
Jens Axboe | 8 | 4.60% | 1 | 4.00% |
Ivan Kokshaysky | 6 | 3.45% | 2 | 8.00% |
Fernando Luis Vázquez Cao | 5 | 2.87% | 1 | 4.00% |
Rusty Russell | 5 | 2.87% | 1 | 4.00% |
Richard Henderson | 4 | 2.30% | 1 | 4.00% |
Andrew Morton | 3 | 1.72% | 1 | 4.00% |
Greg Kroah-Hartman | 1 | 0.57% | 1 | 4.00% |
Ingo Molnar | 1 | 0.57% | 1 | 4.00% |
Total | 174 | 100.00% | 25 | 100.00% |