Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174659
b: refs/heads/master
c: ec42a6e
h: refs/heads/master
i:
  174657: 3ede638
  174655: fa3ae19
v: v3
  • Loading branch information
Dave Airlie committed Dec 9, 2009
1 parent 5e6c15a commit 9ab92c1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: b16d9acbdb97452d1418420e069acf7381ef10bb
refs/heads/master: ec42a6e7dcfc2e9a92fad1c132bc9e110fafeb3f
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/ttm/ttm_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,10 @@ static int ttm_mem_init_dma32_zone(struct ttm_mem_global *glob,
* No special dma32 zone needed.
*/

if (mem <= ((uint64_t) 1ULL << 32))
if (mem <= ((uint64_t) 1ULL << 32)) {
kfree(zone);
return 0;
}

/*
* Limit max dma32 memory to 4GB for now
Expand Down

0 comments on commit 9ab92c1

Please sign in to comment.