|
@@ -250,7 +250,8 @@ EXPORT_SYMBOL(ttm_bo_move_to_lru_tail);
|
|
static void ttm_bo_bulk_move_helper(struct ttm_lru_bulk_move_pos *pos,
|
|
static void ttm_bo_bulk_move_helper(struct ttm_lru_bulk_move_pos *pos,
|
|
struct list_head *lru, bool is_swap)
|
|
struct list_head *lru, bool is_swap)
|
|
{
|
|
{
|
|
- struct list_head entries, before;
|
|
|
|
|
|
+ LIST_HEAD(entries);
|
|
|
|
+ LIST_HEAD(before);
|
|
struct list_head *list1, *list2;
|
|
struct list_head *list1, *list2;
|
|
|
|
|
|
list1 = is_swap ? &pos->last->swap : &pos->last->lru;
|
|
list1 = is_swap ? &pos->last->swap : &pos->last->lru;
|