Commit 42a11179 authored by Tony Wu's avatar Tony Wu Committed by Ralf Baechle

MIPS: Fix typos and cleanup comment

Signed-off-by: default avatarTony Wu <tung7970@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5535/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent fc192e50
...@@ -347,7 +347,7 @@ struct gic_shared_intr_map { ...@@ -347,7 +347,7 @@ struct gic_shared_intr_map {
#define GIC_CPU_INT2 2 /* . */ #define GIC_CPU_INT2 2 /* . */
#define GIC_CPU_INT3 3 /* . */ #define GIC_CPU_INT3 3 /* . */
#define GIC_CPU_INT4 4 /* . */ #define GIC_CPU_INT4 4 /* . */
#define GIC_CPU_INT5 5 /* Core Interrupt 5 */ #define GIC_CPU_INT5 5 /* Core Interrupt 7 */
/* Local GIC interrupts. */ /* Local GIC interrupts. */
#define GIC_INT_TMR (GIC_CPU_INT5) #define GIC_INT_TMR (GIC_CPU_INT5)
......
...@@ -207,9 +207,6 @@ unsigned long __stack_chk_guard __read_mostly; ...@@ -207,9 +207,6 @@ unsigned long __stack_chk_guard __read_mostly;
EXPORT_SYMBOL(__stack_chk_guard); EXPORT_SYMBOL(__stack_chk_guard);
#endif #endif
/*
*
*/
struct mips_frame_info { struct mips_frame_info {
void *func; void *func;
unsigned long func_size; unsigned long func_size;
......
...@@ -972,7 +972,7 @@ build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr) ...@@ -972,7 +972,7 @@ build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr)
uasm_i_srl(p, ptr, ptr, 19); uasm_i_srl(p, ptr, ptr, 19);
#else #else
/* /*
* smp_processor_id() << 3 is stored in CONTEXT. * smp_processor_id() << 2 is stored in CONTEXT.
*/ */
uasm_i_mfc0(p, ptr, C0_CONTEXT); uasm_i_mfc0(p, ptr, C0_CONTEXT);
UASM_i_LA_mostly(p, tmp, pgdc); UASM_i_LA_mostly(p, tmp, pgdc);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment