#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 | |
pre-git | pre-git | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 119 | 68.79% | 14 | 58.33% |
linus torvalds | linus torvalds | 22 | 12.72% | 2 | 8.33% |
jens axboe | jens axboe | 8 | 4.62% | 1 | 4.17% |
ivan kokshaysky | ivan kokshaysky | 6 | 3.47% | 2 | 8.33% |
fernando luis vazquez cao | fernando luis vazquez cao | 5 | 2.89% | 1 | 4.17% |
rusty russell | rusty russell | 5 | 2.89% | 1 | 4.17% |
richard henderson | richard henderson | 4 | 2.31% | 1 | 4.17% |
andrew morton | andrew morton | 3 | 1.73% | 1 | 4.17% |
ingo molnar | ingo molnar | 1 | 0.58% | 1 | 4.17% |
Total | 173 | 100.00% | 24 | 100.00% |