asm/pgtable.h uses swp_entry_t, so it should include linux/swap.h. Signed-off-by: Jeff Dike --- include/asm-um/pgtable.h | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.17/include/asm-um/pgtable.h =================================================================== --- linux-2.6.17.orig/include/asm-um/pgtable.h 2007-10-25 23:14:37.000000000 -0400 +++ linux-2.6.17/include/asm-um/pgtable.h 2007-10-25 23:14:40.000000000 -0400 @@ -10,6 +10,7 @@ #include "linux/sched.h" #include "linux/linkage.h" +#include "linux/swap.h" #include "asm/processor.h" #include "asm/page.h" #include "asm/fixmap.h"