Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200589
b: refs/heads/master
c: 6a4f3b5
h: refs/heads/master
i:
  200587: 618f79b
v: v3
  • Loading branch information
Venkatesh Pallipadi authored and H. Peter Anvin committed Jun 11, 2010
1 parent fbc4dcf commit c76be11
Show file tree
Hide file tree
Showing 3 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: 055c47272b8f5679d08ccc57efea3cb4aaeb5fc6
refs/heads/master: 6a4f3b523779b67e7d560ed42652f8a59f2f9782
2 changes: 1 addition & 1 deletion trunk/arch/x86/mm/pat.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ int reserve_memtype(u64 start, u64 end, unsigned long req_type,
return -EINVAL;
}

new = kmalloc(sizeof(struct memtype), GFP_KERNEL);
new = kzalloc(sizeof(struct memtype), GFP_KERNEL);
if (!new)
return -ENOMEM;

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86/mm/pat_rbtree.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ int rbt_memtype_check_insert(struct memtype *new, unsigned long *ret_type)
if (ret_type)
new->type = *ret_type;

new->subtree_max_end = new->end;
memtype_rb_insert(&memtype_rbroot, new);
}
return err;
Expand Down

0 comments on commit c76be11

Please sign in to comment.