~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/gpu/drm/ttm/ttm_bo.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
 
354
354
                ret = ttm_tt_set_user(bo->ttm, current,
355
355
                                      bo->buffer_start, bo->num_pages);
356
 
                if (unlikely(ret != 0))
 
356
                if (unlikely(ret != 0)) {
357
357
                        ttm_tt_destroy(bo->ttm);
 
358
                        bo->ttm = NULL;
 
359
                }
358
360
                break;
359
361
        default:
360
362
                printk(KERN_ERR TTM_PFX "Illegal buffer object type\n");