diff options
Diffstat (limited to 'mm/swap.c')
-rw-r--r-- | mm/swap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/swap.c b/mm/swap.c index 4e0109a2f37..cd3a5e64cea 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -1138,10 +1138,8 @@ void __init swap_setup(void) #ifdef CONFIG_SWAP int i; - for (i = 0; i < MAX_SWAPFILES; i++) { + for (i = 0; i < MAX_SWAPFILES; i++) spin_lock_init(&swapper_spaces[i].tree_lock); - INIT_LIST_HEAD(&swapper_spaces[i].i_mmap_nonlinear); - } #endif /* Use a smaller cluster for small-memory machines */ |