CRISv10 memset library add lineendings to asm

Add \n\ at end of lines inside asm statement to avoid warning.

No change except adding \n\ to end of line and correcting
whitespace has been done.
Removes warning about multi-line string literals when compiling
arch/cris/arch-v10/lib/memset.c

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Mikael Starvik <mikael.starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Jesper Nilsson and committed by Linus Torvalds 2e2cd8ba 341ac6e4

+41 -41
+41 -41
arch/cris/arch-v10/lib/memset.c
··· 66 66 67 67 { 68 68 register char *dst __asm__ ("r13") = pdst; 69 - 69 + 70 70 /* This is NONPORTABLE, but since this whole routine is */ 71 71 /* grossly nonportable that doesn't matter. */ 72 72 ··· 110 110 If you want to check that the allocation was right; then 111 111 check the equalities in the first comment. It should say 112 112 "r13=r13, r12=r12, r11=r11" */ 113 - __asm__ volatile (" 114 - ;; Check that the following is true (same register names on 115 - ;; both sides of equal sign, as in r8=r8): 116 - ;; %0=r13, %1=r12, %4=r11 117 - ;; 118 - ;; Save the registers we'll clobber in the movem process 119 - ;; on the stack. Don't mention them to gcc, it will only be 120 - ;; upset. 121 - subq 11*4,$sp 122 - movem $r10,[$sp] 123 - 124 - move.d $r11,$r0 125 - move.d $r11,$r1 126 - move.d $r11,$r2 127 - move.d $r11,$r3 128 - move.d $r11,$r4 129 - move.d $r11,$r5 130 - move.d $r11,$r6 131 - move.d $r11,$r7 132 - move.d $r11,$r8 133 - move.d $r11,$r9 134 - move.d $r11,$r10 135 - 136 - ;; Now we've got this: 137 - ;; r13 - dst 138 - ;; r12 - n 139 - 140 - ;; Update n for the first loop 141 - subq 12*4,$r12 142 - 0: 143 - subq 12*4,$r12 144 - bge 0b 145 - movem $r11,[$r13+] 146 - 147 - addq 12*4,$r12 ;; compensate for last loop underflowing n 148 - 149 - ;; Restore registers from stack 150 - movem [$sp+],$r10" 113 + __asm__ volatile ("\n\ 114 + ;; Check that the following is true (same register names on \n\ 115 + ;; both sides of equal sign, as in r8=r8): \n\ 116 + ;; %0=r13, %1=r12, %4=r11 \n\ 117 + ;; \n\ 118 + ;; Save the registers we'll clobber in the movem process \n\ 119 + ;; on the stack. Don't mention them to gcc, it will only be \n\ 120 + ;; upset. \n\ 121 + subq 11*4,$sp \n\ 122 + movem $r10,[$sp] \n\ 123 + \n\ 124 + move.d $r11,$r0 \n\ 125 + move.d $r11,$r1 \n\ 126 + move.d $r11,$r2 \n\ 127 + move.d $r11,$r3 \n\ 128 + move.d $r11,$r4 \n\ 129 + move.d $r11,$r5 \n\ 130 + move.d $r11,$r6 \n\ 131 + move.d $r11,$r7 \n\ 132 + move.d $r11,$r8 \n\ 133 + move.d $r11,$r9 \n\ 134 + move.d $r11,$r10 \n\ 135 + \n\ 136 + ;; Now we've got this: \n\ 137 + ;; r13 - dst \n\ 138 + ;; r12 - n \n\ 139 + \n\ 140 + ;; Update n for the first loop \n\ 141 + subq 12*4,$r12 \n\ 142 + 0: \n\ 143 + subq 12*4,$r12 \n\ 144 + bge 0b \n\ 145 + movem $r11,[$r13+] \n\ 146 + \n\ 147 + addq 12*4,$r12 ;; compensate for last loop underflowing n \n\ 148 + \n\ 149 + ;; Restore registers from stack \n\ 150 + movem [$sp+],$r10" 151 151 152 152 /* Outputs */ : "=r" (dst), "=r" (n) 153 153 /* Inputs */ : "0" (dst), "1" (n), "r" (lc)); 154 - 154 + 155 155 } 156 156 157 157 /* Either we directly starts copying, using dword copying 158 - in a loop, or we copy as much as possible with 'movem' 158 + in a loop, or we copy as much as possible with 'movem' 159 159 and then the last block (<44 bytes) is copied here. 160 160 This will work since 'movem' will have updated src,dst,n. */ 161 161