diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/gic.h | 2 | ||||
-rw-r--r-- | arch/mips/kernel/process.c | 3 | ||||
-rw-r--r-- | arch/mips/mm/tlbex.c | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h index 7153b32de18e..b2e3e93dd7d8 100644 --- a/arch/mips/include/asm/gic.h +++ b/arch/mips/include/asm/gic.h | |||
@@ -347,7 +347,7 @@ struct gic_shared_intr_map { | |||
347 | #define GIC_CPU_INT2 2 /* . */ | 347 | #define GIC_CPU_INT2 2 /* . */ |
348 | #define GIC_CPU_INT3 3 /* . */ | 348 | #define GIC_CPU_INT3 3 /* . */ |
349 | #define GIC_CPU_INT4 4 /* . */ | 349 | #define GIC_CPU_INT4 4 /* . */ |
350 | #define GIC_CPU_INT5 5 /* Core Interrupt 5 */ | 350 | #define GIC_CPU_INT5 5 /* Core Interrupt 7 */ |
351 | 351 | ||
352 | /* Local GIC interrupts. */ | 352 | /* Local GIC interrupts. */ |
353 | #define GIC_INT_TMR (GIC_CPU_INT5) | 353 | #define GIC_INT_TMR (GIC_CPU_INT5) |
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 7d62894f7e23..ddc76103e78c 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -207,9 +207,6 @@ unsigned long __stack_chk_guard __read_mostly; | |||
207 | EXPORT_SYMBOL(__stack_chk_guard); | 207 | EXPORT_SYMBOL(__stack_chk_guard); |
208 | #endif | 208 | #endif |
209 | 209 | ||
210 | /* | ||
211 | * | ||
212 | */ | ||
213 | struct mips_frame_info { | 210 | struct mips_frame_info { |
214 | void *func; | 211 | void *func; |
215 | unsigned long func_size; | 212 | unsigned long func_size; |
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 4712f3cd73b7..357e0fd65e94 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c | |||
@@ -972,7 +972,7 @@ build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr) | |||
972 | uasm_i_srl(p, ptr, ptr, 19); | 972 | uasm_i_srl(p, ptr, ptr, 19); |
973 | #else | 973 | #else |
974 | /* | 974 | /* |
975 | * smp_processor_id() << 3 is stored in CONTEXT. | 975 | * smp_processor_id() << 2 is stored in CONTEXT. |
976 | */ | 976 | */ |
977 | uasm_i_mfc0(p, ptr, C0_CONTEXT); | 977 | uasm_i_mfc0(p, ptr, C0_CONTEXT); |
978 | UASM_i_LA_mostly(p, tmp, pgdc); | 978 | UASM_i_LA_mostly(p, tmp, pgdc); |