shmem-include-header-file-to-declare-swap_info.patch removed from -mm tree
The patch titled
Subject: shmem: include header file to declare swap_info
has been removed from the -mm tree. Its filename was
shmem-include-header-file-to-declare-swap_info.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: shmem: include header file to declare swap_info
It's bad to extern swap_info[] in .c. Include corresponding header file instead.
---
mm/shmem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/shmem.c renamed from mm/shmem.c~shmem-include-header-file-to-declare-swap_info +1 -2
@@ -38,6 +38,7 @@#include <linux/hugetlb.h> #include <linux/frontswap.h> #include <linux/fs_parser.h> +#include <linux/swapfile.h> static struct vfsmount *shm_mnt;
@@ -1152,8 +1153,6 @@ static void shmem_evict_inode(struct inoclear_inode (inode); } -extern struct swap_info_struct *swap_info[]; - static int shmem_find_swap_entries(struct address_space *mapping, pgoff_t start, unsigned int nr_entries, struct page **entries, pgoff_t *indices,
_
Patches currently in -mm which might be from [email protected] are
mm-page_allocc-avoid-accessing-uninitialized-pcp-page-migratetype.patch mm-memory_hotplug-use-helper-zone_is_zone_device-to-simplify-the-code.patch mm-memory_hotplug-make-hwpoisoned-dirty-swapcache-pages-unmovable.patch mm-zsmallocc-close-race-window-between-zs_pool_dec_isolated-and-zs_unregister_migration.patch mm-zsmallocc-combine-two-atomic-ops-in-zs_pool_dec_isolated.patch