From: Tejun Heo Date: Sat, 13 Dec 2014 00:55:35 +0000 (-0800) Subject: mm: move swp_entry_t definition to include/linux/mm_types.h X-Git-Tag: omap-for-v3.20/drop-legacy-3517~97^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd6dace78b9e4595d29892f806514518449c7489;p=pandora-kernel.git mm: move swp_entry_t definition to include/linux/mm_types.h swp_entry_t being defined in include/linux/swap.h instead of include/linux/mm_types.h causes cyclic include dependency later when include/linux/page_cgroup.h is included from writeback path. Move the definition to include/linux/mm_types.h. While at it, reformat the comment above it. Signed-off-by: Tejun Heo Cc: Mel Gorman Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed