On Mon, Apr 23, 2012 at 06:46:41PM +0200, Martin Peres wrote: > Hey, > > Just a minor mistake spotted while skimming through the patch. > > Le 23/04/2012 00:18, Marcin Slusarz a écrit : > > +static inline uint64_t nv_timeout(struct drm_device *dev) > > +{ > > + uint64_t tm = 2000000000ULL; > > + if (nouveau_gpu_reset_in_progress(dev)) > > + tm /= 40; /* 50ms */ > This will cause a problem on 32 bit kernels. You should use do_div. >
Thanks. I'll fix this later. Marcin _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel