[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071116151257.GA5291@c2.user-mode-linux.org>
Date: Fri, 16 Nov 2007 10:12:57 -0500
From: Jeff Dike <jdike@...toit.com>
To: WANG Cong <xiyou.wangcong@...il.com>
Cc: Greg KH <greg@...ah.com>, Rob Landley <rob@...dley.net>,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
Chris Wright <chrisw@...s-sol.org>
Subject: Re: [Patch] Fix UML broken (was Re: User Mode Linux still broken in 2.6.23.1)
On Fri, Nov 16, 2007 at 11:08:32AM +0800, WANG Cong wrote:
> Could you please try this patch? Can it fix the error?
>
> Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
>
> ---
>
> diff --git a/Makefile b/Makefile
> diff --git a/include/linux/swap.h b/include/linux/swap.h
> index 4f3838a..2c3ce4c 100644
> --- a/include/linux/swap.h
> +++ b/include/linux/swap.h
> @@ -6,6 +6,7 @@
> #include <linux/mmzone.h>
> #include <linux/list.h>
> #include <linux/sched.h>
> +#include <linux/pagemap.h>
>
> #include <asm/atomic.h>
> #include <asm/page.h>
If you look further down the file, you see a comment to the effect that this
will break sparc.
Jeff
--
Work email - jdike at linux dot intel dot com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists