Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47439
b: refs/heads/master
c: 8447157
h: refs/heads/master
i:
  47437: 1b3fedf
  47435: 4816632
  47431: ea413e1
  47423: 6499b36
v: v3
  • Loading branch information
Ahmed S. Darwish authored and Linus Torvalds committed Feb 11, 2007
1 parent 297008c commit 4304d73
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 047c7c42327433a13ed2971de41ef7c6943b37ec
refs/heads/master: 8447157a1ac467fae2125074f3693f557c8e05d3
3 changes: 1 addition & 2 deletions trunk/arch/cris/arch-v10/drivers/axisflashmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@ static struct mtd_info *flash_probe(void)
* So we use the MTD concatenation layer instead of further
* complicating the probing procedure.
*/
mtd_cse = mtd_concat_create(mtds,
sizeof(mtds) / sizeof(mtds[0]),
mtd_cse = mtd_concat_create(mtds, ARRAY_SIZE(mtds),
"cse0+cse1");
#else
printk(KERN_ERR "%s and %s: Cannot concatenate due to kernel "
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/cris/mm/tlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include <linux/init.h>
#include <linux/kernel.h>
#include <asm/tlb.h>

#define D(x)
Expand Down Expand Up @@ -100,7 +101,7 @@ tlb_init(void)

/* clear the page_id map */

for (i = 1; i < sizeof (page_id_map) / sizeof (page_id_map[0]); i++)
for (i = 1; i < ARRAY_SIZE(page_id_map); i++)
page_id_map[i] = NULL;

/* invalidate the entire TLB */
Expand Down

0 comments on commit 4304d73

Please sign in to comment.