Rev 1179 | Rev 1321 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1179 | Rev 1246 | ||
---|---|---|---|
Line 80... | Line 80... | ||
80 | 80 | ||
81 | static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) |
81 | static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) |
82 | { |
82 | { |
Line 83... | Line 83... | ||
83 | struct drm_mm_node *child; |
83 | struct drm_mm_node *child; |
Line 84... | Line 84... | ||
84 | 84 | ||
85 | child = malloc(sizeof(*child)); |
85 | child = kzalloc(sizeof(*child), 0); |
86 | 86 | ||
87 | if (unlikely(child == NULL)) { |
87 | if (unlikely(child == NULL)) { |