Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228694
b: refs/heads/master
c: 045e769
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson committed Nov 7, 2010
1 parent 4d38887 commit e6266a9
Show file tree
Hide file tree
Showing 2 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: 75e9e9158f38e5cb21eff23b30bafa6f32e0a606
refs/heads/master: 045e769ab69ce94dedbcdcfd46c2578b385c2986
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/i915/i915_gem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,11 +1340,12 @@ int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
mutex_unlock(&dev->struct_mutex);

switch (ret) {
case -EAGAIN:
set_need_resched();
case 0:
case -ERESTARTSYS:
return VM_FAULT_NOPAGE;
case -ENOMEM:
case -EAGAIN:
return VM_FAULT_OOM;
default:
return VM_FAULT_SIGBUS;
Expand Down

0 comments on commit e6266a9

Please sign in to comment.