]> err.no Git - linux-2.6/blobdiff - mm/swap_state.c
cow_user_page: fix page alignment
[linux-2.6] / mm / swap_state.c
index cafc1edcbeba2c79d9e6a84777a77bccaeb523ec..0df9a57b1de84bca534a9f6cc0c32d1ddefb939a 100644 (file)
@@ -40,7 +40,6 @@ struct address_space swapper_space = {
        .i_mmap_nonlinear = LIST_HEAD_INIT(swapper_space.i_mmap_nonlinear),
        .backing_dev_info = &swap_backing_dev_info,
 };
-EXPORT_SYMBOL(swapper_space);
 
 #define INC_CACHE_INFO(x)      do { swap_cache_info.x++; } while (0)
 
@@ -259,8 +258,7 @@ static inline void free_swap_cache(struct page *page)
 
 /* 
  * Perform a free_page(), also freeing any swap cache associated with
- * this page if it is the last user of the page. Can not do a lock_page,
- * as we are holding the page_table_lock spinlock.
+ * this page if it is the last user of the page.
  */
 void free_page_and_swap_cache(struct page *page)
 {