Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115213
b: refs/heads/master
c: 13eb837
h: refs/heads/master
i:
  115211: d88c928
v: v3
  • Loading branch information
Ingo Molnar committed Sep 26, 2008
1 parent af8d48b commit eff5b28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 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: 379daf6290814e41f14880094b7b773640df2461
refs/heads/master: 13eb83754b40bf01dc84e52a08d4196d1b719a0e
14 changes: 9 additions & 5 deletions trunk/kernel/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ EXPORT_SYMBOL(iomem_resource);

static DEFINE_RWLOCK(resource_lock);

#ifdef CONFIG_PROC_FS

enum { MAX_IORES_LEVEL = 5 };

static void *r_next(struct seq_file *m, void *v, loff_t *pos)
{
struct resource *p = v;
Expand All @@ -53,6 +49,10 @@ static void *r_next(struct seq_file *m, void *v, loff_t *pos)
return p->sibling;
}

#ifdef CONFIG_PROC_FS

enum { MAX_IORES_LEVEL = 5 };

static void *r_start(struct seq_file *m, loff_t *pos)
__acquires(resource_lock)
{
Expand Down Expand Up @@ -852,7 +852,11 @@ int iomem_map_sanity_check(resource_size_t addr, unsigned long size)
continue;
printk(KERN_WARNING "resource map sanity check conflict: "
"0x%llx 0x%llx 0x%llx 0x%llx %s\n",
addr, addr + size - 1, p->start, p->end, p->name);
(unsigned long long)addr,
(unsigned long long)(addr + size - 1),
(unsigned long long)p->start,
(unsigned long long)p->end,
p->name);
err = -1;
break;
}
Expand Down

0 comments on commit eff5b28

Please sign in to comment.