From: Olaf Hering Date: Sun, 7 Aug 2005 16:42:24 +0000 (-0700) Subject: [PATCH] remove linux/pagemap.h from linux/swap.h X-Git-Tag: v2.6.13-rc6~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ae5b3c703cce89a7d8ccf25fe16955ec6f016c0;p=pandora-kernel.git [PATCH] remove linux/pagemap.h from linux/swap.h sparc can not include linux/pagemap.h because of the following circular dependency: asm-sparc/pgtable include linux/swap.h linux/swap.h include now linux/pagemap.h linux/pagemap.h include linux/mm.h linux/mm.h include asm/pgtable.h It needs to have the swp_entry_t type fully visible in pgtable.h, we can't work around this using macros. Signed-off-by: Olaf Hering Cc: William Lee Irwin III Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed