Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62299
b: refs/heads/master
c: 1256efd
h: refs/heads/master
i:
  62297: 60d3c5a
  62295: 6d36d90
v: v3
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Jul 21, 2007
1 parent f324f89 commit 7807aa7
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: f0429bf7a099c28b4806b68812b821ef6d1ddbcb
refs/heads/master: 1256efd5519a8eca2dfa6039ce5cf58f44d1626d
6 changes: 3 additions & 3 deletions trunk/arch/sparc64/kernel/mdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static void mdesc_handle_init(struct mdesc_handle *hp,
hp->handle_size = handle_size;
}

static struct mdesc_handle *mdesc_bootmem_alloc(unsigned int mdesc_size)
static struct mdesc_handle * __init mdesc_bootmem_alloc(unsigned int mdesc_size)
{
struct mdesc_handle *hp;
unsigned int handle_size, alloc_size;
Expand Down Expand Up @@ -123,7 +123,7 @@ static void mdesc_bootmem_free(struct mdesc_handle *hp)
}
}

static struct mdesc_mem_ops bootmem_mdesc_memops = {
static struct mdesc_mem_ops bootmem_mdesc_ops = {
.alloc = mdesc_bootmem_alloc,
.free = mdesc_bootmem_free,
};
Expand Down Expand Up @@ -860,7 +860,7 @@ void __init sun4v_mdesc_init(void)

printk("MDESC: Size is %lu bytes.\n", len);

hp = mdesc_alloc(len, &bootmem_mdesc_memops);
hp = mdesc_alloc(len, &bootmem_mdesc_ops);
if (hp == NULL) {
prom_printf("MDESC: alloc of %lu bytes failed.\n", len);
prom_halt();
Expand Down

0 comments on commit 7807aa7

Please sign in to comment.