Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151182
b: refs/heads/master
c: 949e827
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and David S. Miller committed Jun 16, 2009
1 parent 5e1de7c commit f70fda5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c9f5b7e77c30da25104a3f7f26ac46c07d7b5cb6
refs/heads/master: 949e82744b31b555dd6dba40758e05338f305233
3 changes: 2 additions & 1 deletion trunk/arch/sparc/mm/srmmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <linux/fs.h>
#include <linux/seq_file.h>
#include <linux/kdebug.h>
#include <linux/log2.h>

#include <asm/bitext.h>
#include <asm/page.h>
Expand Down Expand Up @@ -349,7 +350,7 @@ static void srmmu_free_nocache(unsigned long vaddr, int size)
vaddr, srmmu_nocache_end);
BUG();
}
if (size & (size-1)) {
if (!is_power_of_2(size)) {
printk("Size 0x%x is not a power of 2\n", size);
BUG();
}
Expand Down

0 comments on commit f70fda5

Please sign in to comment.