Use flsl() here rather than ffsl()

I discovered that we were computing page_order differently than linux.

MFC after:	3 days
This commit is contained in:
Robert Noland 2009-03-17 03:32:12 +00:00
parent a5b1a8553c
commit 162e0ab8c1

View File

@ -1106,7 +1106,7 @@ int drm_order(unsigned long size)
if (size == 0)
return 0;
order = ffsl(size) - 1;
order = flsl(size) - 1;
if (size & ~(1ul << order))
++order;