Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54434
b: refs/heads/master
c: c1185cc
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie committed Mar 11, 2007
1 parent 2823ae8 commit 868ebe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80b2c386f3d8c3367533a8600b599f8686c9d386
refs/heads/master: c1185ccdfb797df82fa84b581eea128041bd63b0
1 change: 1 addition & 0 deletions trunk/drivers/char/drm/drm_hashtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ int drm_ht_create(drm_open_hash_t *ht, unsigned int order)
ht->size = 1 << order;
ht->order = order;
ht->fill = 0;
ht->table = NULL;
ht->use_vmalloc = ((ht->size * sizeof(*ht->table)) > PAGE_SIZE);
if (!ht->use_vmalloc) {
ht->table = drm_calloc(ht->size, sizeof(*ht->table),
Expand Down

0 comments on commit 868ebe1

Please sign in to comment.