Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218180
b: refs/heads/master
c: 2941482
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Sep 24, 2010
1 parent add337b commit 67ad71e
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 185abeccabe5aed0ef79e8572c3916ea08034a45
refs/heads/master: 2941482ead0b02c9efd81fc3862be3ebfce607a5
3 changes: 3 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_ramht.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ nouveau_ramht_find(struct nouveau_channel *chan, u32 handle)
struct nouveau_gpuobj *gpuobj = NULL;
unsigned long flags;

if (unlikely(!chan->ramht))
return NULL;

spin_lock_irqsave(&ramht->lock, flags);
list_for_each_entry(entry, &chan->ramht->entries, head) {
if (entry->channel == chan && entry->handle == handle) {
Expand Down

0 comments on commit 67ad71e

Please sign in to comment.