mm, treewide: redefine MAX_ORDER sanely
[linux-2.6-microblaze.git] / include / drm / ttm / ttm_pool.h
index ef09b23..8ce14f9 100644 (file)
@@ -72,7 +72,7 @@ struct ttm_pool {
        bool use_dma32;
 
        struct {
-               struct ttm_pool_type orders[MAX_ORDER];
+               struct ttm_pool_type orders[MAX_ORDER + 1];
        } caching[TTM_NUM_CACHING_TYPES];
 };