diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2007-06-11 03:31:30 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-06-11 03:31:30 -0400 |
commit | d2d50aa97d695d83ccb2341488d977e8cfe36555 (patch) | |
tree | b6b259e8a78b08865d01e49843abf48d1a220071 /arch/blackfin/mm | |
parent | ac1bd53c067397947b5d805c631519282f5678fe (diff) |
Blackfin arch: spelling fixes
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mm')
-rw-r--r-- | arch/blackfin/mm/blackfin_sram.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c index dd0c6501c42..3c9e63503f6 100644 --- a/arch/blackfin/mm/blackfin_sram.c +++ b/arch/blackfin/mm/blackfin_sram.c | |||
@@ -149,7 +149,7 @@ static void *_l1_sram_alloc(size_t size, struct l1_sram_piece *pfree, int count) | |||
149 | size = (size + 3) & ~3; | 149 | size = (size + 3) & ~3; |
150 | 150 | ||
151 | /* not use the good method to match the best slot !!! */ | 151 | /* not use the good method to match the best slot !!! */ |
152 | /* search an available memeory slot */ | 152 | /* search an available memory slot */ |
153 | for (i = 0; i < count; i++) { | 153 | for (i = 0; i < count; i++) { |
154 | if ((pfree[i].flag == SRAM_SLT_FREE) | 154 | if ((pfree[i].flag == SRAM_SLT_FREE) |
155 | && (pfree[i].size >= size)) { | 155 | && (pfree[i].size >= size)) { |
@@ -162,7 +162,7 @@ static void *_l1_sram_alloc(size_t size, struct l1_sram_piece *pfree, int count) | |||
162 | if (i >= count) | 162 | if (i >= count) |
163 | return NULL; | 163 | return NULL; |
164 | 164 | ||
165 | /* updated the NULL memeory slot !!! */ | 165 | /* updated the NULL memory slot !!! */ |
166 | if (pfree[i].size > size) { | 166 | if (pfree[i].size > size) { |
167 | for (i = 0; i < count; i++) { | 167 | for (i = 0; i < count; i++) { |
168 | if (pfree[i].flag == SRAM_SLT_NULL) { | 168 | if (pfree[i].flag == SRAM_SLT_NULL) { |
@@ -186,7 +186,7 @@ static void *_l1_sram_alloc_max(struct l1_sram_piece *pfree, int count, | |||
186 | int i, index = -1; | 186 | int i, index = -1; |
187 | void *addr = NULL; | 187 | void *addr = NULL; |
188 | 188 | ||
189 | /* search an available memeory slot */ | 189 | /* search an available memory slot */ |
190 | for (i = 0; i < count; i++) { | 190 | for (i = 0; i < count; i++) { |
191 | if (pfree[i].flag == SRAM_SLT_FREE && pfree[i].size > best) { | 191 | if (pfree[i].flag == SRAM_SLT_FREE && pfree[i].size > best) { |
192 | addr = pfree[i].paddr; | 192 | addr = pfree[i].paddr; |