Go to the documentation of this file.
10 #ifndef _ASM_IA64_SMP_H
11 #define _ASM_IA64_SMP_H
15 #include <linux/kernel.h>
17 #include <linux/bitops.h>
21 #include <asm/param.h>
22 #include <asm/processor.h>
23 #include <asm/ptrace.h>
25 static inline unsigned int
31 unsigned long eid : 8;
39 return lid.f.id << 8 |
lid.f.eid;
42 #define hard_smp_processor_id() ia64_get_lid()
46 #define XTP_OFFSET 0x1e0008
48 #define SMP_IRQ_REDIRECTION (1 << 0)
49 #define SMP_IPI_REDIRECTION (1 << 1)
51 #define raw_smp_processor_id() (current_thread_info()->cpu)
53 extern struct smp_boot_data {
67 #define cpu_physical_id(i) ia64_cpu_to_sapicid[i]
133 #define cpu_logical_id(i) 0
134 #define cpu_physical_id(i) ia64_get_lid()