diff options
Diffstat (limited to 'arch/mips/include/asm/netlogic/common.h')
-rw-r--r-- | arch/mips/include/asm/netlogic/common.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/mips/include/asm/netlogic/common.h b/arch/mips/include/asm/netlogic/common.h index 42bfd5f1eeec..aef560a51a7e 100644 --- a/arch/mips/include/asm/netlogic/common.h +++ b/arch/mips/include/asm/netlogic/common.h | |||
@@ -38,11 +38,11 @@ | |||
38 | /* | 38 | /* |
39 | * Common SMP definitions | 39 | * Common SMP definitions |
40 | */ | 40 | */ |
41 | #define RESET_VEC_PHYS 0x1fc00000 | 41 | #define RESET_VEC_PHYS 0x1fc00000 |
42 | #define RESET_DATA_PHYS (RESET_VEC_PHYS + (1<<10)) | 42 | #define RESET_DATA_PHYS (RESET_VEC_PHYS + (1<<10)) |
43 | #define BOOT_THREAD_MODE 0 | 43 | #define BOOT_THREAD_MODE 0 |
44 | #define BOOT_NMI_LOCK 4 | 44 | #define BOOT_NMI_LOCK 4 |
45 | #define BOOT_NMI_HANDLER 8 | 45 | #define BOOT_NMI_HANDLER 8 |
46 | 46 | ||
47 | #ifndef __ASSEMBLY__ | 47 | #ifndef __ASSEMBLY__ |
48 | #include <linux/cpumask.h> | 48 | #include <linux/cpumask.h> |
@@ -80,7 +80,7 @@ extern unsigned int nlm_threads_per_core; | |||
80 | extern cpumask_t nlm_cpumask; | 80 | extern cpumask_t nlm_cpumask; |
81 | 81 | ||
82 | struct nlm_soc_info { | 82 | struct nlm_soc_info { |
83 | unsigned long coremask; /* cores enabled on the soc */ | 83 | unsigned long coremask; /* cores enabled on the soc */ |
84 | unsigned long ebase; | 84 | unsigned long ebase; |
85 | uint64_t irqmask; | 85 | uint64_t irqmask; |
86 | uint64_t sysbase; /* only for XLP */ | 86 | uint64_t sysbase; /* only for XLP */ |
@@ -88,9 +88,9 @@ struct nlm_soc_info { | |||
88 | spinlock_t piclock; | 88 | spinlock_t piclock; |
89 | }; | 89 | }; |
90 | 90 | ||
91 | #define nlm_get_node(i) (&nlm_nodes[i]) | 91 | #define nlm_get_node(i) (&nlm_nodes[i]) |
92 | #ifdef CONFIG_CPU_XLR | 92 | #ifdef CONFIG_CPU_XLR |
93 | #define nlm_current_node() (&nlm_nodes[0]) | 93 | #define nlm_current_node() (&nlm_nodes[0]) |
94 | #else | 94 | #else |
95 | #define nlm_current_node() (&nlm_nodes[nlm_nodeid()]) | 95 | #define nlm_current_node() (&nlm_nodes[nlm_nodeid()]) |
96 | #endif | 96 | #endif |