diff options
Diffstat (limited to 'linux/dev/include/asm-i386/smp.h')
-rw-r--r-- | linux/dev/include/asm-i386/smp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/dev/include/asm-i386/smp.h b/linux/dev/include/asm-i386/smp.h index 96423ae..fabe01d 100644 --- a/linux/dev/include/asm-i386/smp.h +++ b/linux/dev/include/asm-i386/smp.h @@ -1,4 +1,8 @@ #ifndef _I386_SMP_H #define _I386_SMP_H +#include <machine/cpu_number.h> + +#define smp_processor_id() cpu_number() + #endif /* _I386_SMP_H */ |