Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146864
b: refs/heads/master
c: a50de78
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jun 11, 2009
1 parent da82112 commit 0e114f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: cf9fe114e3b37e14fc8434d5abb192e35df551b1
refs/heads/master: a50de78dc6d21ee074e9561c800d194bec12128b
5 changes: 3 additions & 2 deletions trunk/arch/sh/kernel/cpu/clock-cpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ int __init sh_clk_div4_register(struct clk *clks, int nr,
int ret = 0;
int k;

k = nr_divs + 1;
freq_table = alloc_bootmem(freq_table_size * nr * (nr_divs + 1));
freq_table_size *= (nr_divs + 1);

freq_table = alloc_bootmem(freq_table_size * nr);
if (!freq_table)
return -ENOMEM;

Expand Down

0 comments on commit 0e114f8

Please sign in to comment.