diff options
Diffstat (limited to 'arch/blackfin/mach-common/lock.S')
| -rw-r--r-- | arch/blackfin/mach-common/lock.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/lock.S b/arch/blackfin/mach-common/lock.S index 2cbb15b33925..386ac8dda076 100644 --- a/arch/blackfin/mach-common/lock.S +++ b/arch/blackfin/mach-common/lock.S | |||
| @@ -155,6 +155,7 @@ ENTRY(_cache_grab_lock) | |||
| 155 | ( R7:0,P5:0 ) = [SP++]; | 155 | ( R7:0,P5:0 ) = [SP++]; |
| 156 | 156 | ||
| 157 | RTS; | 157 | RTS; |
| 158 | ENDPROC(_cache_grab_lock) | ||
| 158 | 159 | ||
| 159 | /* After the execution of critical code, the code is now locked into | 160 | /* After the execution of critical code, the code is now locked into |
| 160 | * the cache way. Now we need to set ILOC. | 161 | * the cache way. Now we need to set ILOC. |
| @@ -186,6 +187,7 @@ ENTRY(_cache_lock) | |||
| 186 | 187 | ||
| 187 | ( R7:0,P5:0 ) = [SP++]; | 188 | ( R7:0,P5:0 ) = [SP++]; |
| 188 | RTS; | 189 | RTS; |
| 190 | ENDPROC(_cache_lock) | ||
| 189 | 191 | ||
| 190 | #endif /* BLKFIN_CACHE_LOCK */ | 192 | #endif /* BLKFIN_CACHE_LOCK */ |
| 191 | 193 | ||
| @@ -193,7 +195,6 @@ ENTRY(_cache_lock) | |||
| 193 | */ | 195 | */ |
| 194 | 196 | ||
| 195 | ENTRY(_read_iloc) | 197 | ENTRY(_read_iloc) |
| 196 | |||
| 197 | P1.H = (IMEM_CONTROL >> 16); | 198 | P1.H = (IMEM_CONTROL >> 16); |
| 198 | P1.L = (IMEM_CONTROL & 0xFFFF); | 199 | P1.L = (IMEM_CONTROL & 0xFFFF); |
| 199 | R1 = 0xF; | 200 | R1 = 0xF; |
| @@ -202,3 +203,4 @@ ENTRY(_read_iloc) | |||
| 202 | R0 = R0 & R1; | 203 | R0 = R0 & R1; |
| 203 | 204 | ||
| 204 | RTS; | 205 | RTS; |
| 206 | ENDPROC(_read_iloc) | ||
