Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312397
b: refs/heads/master
c: 1ba9a29
h: refs/heads/master
i:
  312395: 6eadffb
v: v3
  • Loading branch information
Jan Beulich authored and Ingo Molnar committed Jul 10, 2012
1 parent 5daa04f commit 86cb4e6
Show file tree
Hide file tree
Showing 2 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: 954e482bde20b0e208fd4d34ef26e10afd194600
refs/heads/master: 1ba9a294141b106b7247649a5c3372d8284eca80
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/cpu/mtrr/cleanup.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ range_to_mtrr(unsigned int reg, unsigned long range_startk,

/* Compute the maximum size with which we can make a range: */
if (range_startk)
max_align = ffs(range_startk) - 1;
max_align = __ffs(range_startk);
else
max_align = 32;
max_align = BITS_PER_LONG - 1;

align = fls(range_sizek) - 1;
align = __fls(range_sizek);
if (align > max_align)
align = max_align;

Expand Down

0 comments on commit 86cb4e6

Please sign in to comment.