#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.79% | 14 | 58.33% |
Linus Torvalds | 22 | 12.72% | 2 | 8.33% |
Jens Axboe | 8 | 4.62% | 1 | 4.17% |
Ivan Kokshaysky | 6 | 3.47% | 2 | 8.33% |
Rusty Russell | 5 | 2.89% | 1 | 4.17% |
Fernando Luis Vázquez Cao | 5 | 2.89% | 1 | 4.17% |
Richard Henderson | 4 | 2.31% | 1 | 4.17% |
Andrew Morton | 3 | 1.73% | 1 | 4.17% |
Ingo Molnar | 1 | 0.58% | 1 | 4.17% |
Total | 173 | 100.00% | 24 | 100.00% |