Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

metag: Fix typos

Fix typos in metag architecture.

[james.hogan@imgtec.com: squashed patches and fixed "detailed"]

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: James Hogan <james.hogan@imgtec.com>

authored by

Andrea Gelmini and committed by
James Hogan
986724dd 92d21ac7

+5 -5
+1 -1
arch/metag/include/asm/metag_mem.h
··· 881 881 #define PERFCTRL_DCSTALL 11 /* Dcache+TLB o/p delayed (per-thread) */ 882 882 #define PERFCTRL_ICSTALL 12 /* Icache+TLB o/p delayed (per-thread) */ 883 883 884 - #define PERFCTRL_INT 13 /* Internal core delailed events (see next) */ 884 + #define PERFCTRL_INT 13 /* Internal core detailed events (see next) */ 885 885 #define PERFCTRL_EXT 15 /* External source in core periphery */ 886 886 #endif /* METAC_2_1 */ 887 887
+1 -1
arch/metag/include/asm/metag_regs.h
··· 179 179 ; is best to dump these registers immediately at the start of a routine 180 180 ; using a MSETL or SETL instruction- 181 181 ; 182 - ; MSETL [A0StP],D0Ar6,D0Ar4,D0Ar2; Only dump argments expected 182 + ; MSETL [A0StP],D0Ar6,D0Ar4,D0Ar2; Only dump arguments expected 183 183 ;or SETL [A0StP+#8++],D0Ar2 ; Up to two 32-bit args expected 184 184 ; 185 185 ; For non-leaf routines it is always necessary to save and restore at least
+1 -1
arch/metag/kernel/cachepart.c
··· 15 15 #define SYSC_DCPART(n) (SYSC_DCPART0 + SYSC_xCPARTn_STRIDE * (n)) 16 16 #define SYSC_ICPART(n) (SYSC_ICPART0 + SYSC_xCPARTn_STRIDE * (n)) 17 17 18 - #define CACHE_ASSOCIATIVITY 4 /* 4 way set-assosiative */ 18 + #define CACHE_ASSOCIATIVITY 4 /* 4 way set-associative */ 19 19 #define ICACHE 0 20 20 #define DCACHE 1 21 21
+2 -2
arch/metag/lib/divsi3.S
··· 50 50 ADDCC D0Re0,D0Re0,#1 ! If yes result += 1 51 51 SUBCC D1Ar1,D1Ar1,D1Re0 ! and A -= Bu 52 52 ORS D0Ar4,D0Ar4,D0Ar4 ! Return neg result? 53 - NEG D0Ar2,D0Re0 ! Calulate neg result 53 + NEG D0Ar2,D0Re0 ! Calculate neg result 54 54 MOVMI D0Re0,D0Ar2 ! Yes: Take neg result 55 55 $LIDMCRet: 56 56 MOV PC,D1RtP ··· 94 94 LSR D1Re0, D1Re0, #1 ! Shift down B 95 95 BNZ $LIDMCLoop ! Was single bit in curbit lost? 96 96 ORS D0Ar4,D0Ar4,D0Ar4 ! Return neg result? 97 - NEG D0Ar2,D0Re0 ! Calulate neg result 97 + NEG D0Ar2,D0Re0 ! Calculate neg result 98 98 MOVMI D0Re0,D0Ar2 ! Yes: Take neg result 99 99 MOV PC,D1RtP 100 100 .size ___divsi3,.-___divsi3