Fix build problems

main
Alan Hourihane 2008-05-09 16:36:28 +01:00
parent 7317e774b5
commit eeff906aa0
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ static struct page *drm_bo_vm_fault(struct vm_area_struct *vma,
mutex_lock(&bo->mutex);
err = drm_bo_wait(bo, 0, 1, 0);
err = drm_bo_wait(bo, 0, 1, 0, 1);
if (err) {
data->type = (err == -EAGAIN) ?
VM_FAULT_MINOR : VM_FAULT_SIGBUS;

View File

@ -351,7 +351,7 @@ int main(int argc, char **argv)
printf("Starting test\n");
fd = drmOpenControl(0);
fd = drmOpen("i915", NULL);
if (fd < 0) {
printf("Failed to open the card fb (%d)\n",fd);