]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: Fix typos and cleanup comment
authorTony Wu <tung7970@gmail.com>
Fri, 21 Jun 2013 10:09:23 +0000 (10:09 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 27 Jun 2013 11:08:45 +0000 (13:08 +0200)
Signed-off-by: Tony Wu <tung7970@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5535/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/gic.h
arch/mips/kernel/process.c
arch/mips/mm/tlbex.c

index 7153b32de18e6692e2792be19a34b886d1121ba8..b2e3e93dd7d88c570a6267b621cbf4521748e8c8 100644 (file)
@@ -347,7 +347,7 @@ struct gic_shared_intr_map {
 #define GIC_CPU_INT2           2 /* .                */
 #define GIC_CPU_INT3           3 /* .                */
 #define GIC_CPU_INT4           4 /* .                */
-#define GIC_CPU_INT5           5 /* Core Interrupt 5 */
+#define GIC_CPU_INT5           5 /* Core Interrupt 7 */
 
 /* Local GIC interrupts. */
 #define GIC_INT_TMR            (GIC_CPU_INT5)
index 7d62894f7e23153babb5c98720492db25308c7b1..ddc76103e78c1447015ad02ccd83b2ae25c6d420 100644 (file)
@@ -207,9 +207,6 @@ unsigned long __stack_chk_guard __read_mostly;
 EXPORT_SYMBOL(__stack_chk_guard);
 #endif
 
-/*
- *
- */
 struct mips_frame_info {
        void            *func;
        unsigned long   func_size;
index 4712f3cd73b77bcc4924db3d69f2f32bc6f7978e..357e0fd65e94288700b7969bbe1015a773f89454 100644 (file)
@@ -972,7 +972,7 @@ build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr)
        uasm_i_srl(p, ptr, ptr, 19);
 #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_LA_mostly(p, tmp, pgdc);