diff options
author | Tejun Heo <tj@kernel.org> | 2014-12-13 03:55:35 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 23:42:47 +0300 |
commit | bd6dace78b9e4595d29892f806514518449c7489 (patch) | |
tree | 5ddeaccaf220668c85fbce6a1dfb679ad0fc80e3 /mm | |
parent | 71fbd556adde2795787a6ca4c16871e57efba847 (diff) | |
download | linux-bd6dace78b9e4595d29892f806514518449c7489.tar.xz |
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 <tj@kernel.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions