[Patch] Fix UML broken (was Re: User Mode Linux still broken in 2.6.23.1)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Rob Landley <rob@...>, <linux-kernel@...>, Jeff Dike <jdike@...>, <akpm@...>, Chris Wright <chrisw@...>
Date: Thursday, November 15, 2007 - 11:08 pm

On Thu, Nov 15, 2007 at 01:06:08PM -0800, Greg KH wrote:

Could you please try this patch? Can it fix the error?

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.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>
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
User Mode Linux still broken in 2.6.23.1, Rob Landley, (Sun Nov 4, 12:51 am)
Re: User Mode Linux still broken in 2.6.23.1, Greg KH, (Wed Nov 14, 2:54 pm)
Re: User Mode Linux still broken in 2.6.23.1, Rob Landley, (Thu Nov 15, 1:58 am)
Re: User Mode Linux still broken in 2.6.23.1, Greg KH, (Thu Nov 15, 2:02 am)
Re: User Mode Linux still broken in 2.6.23.1, Rob Landley, (Thu Nov 15, 4:57 pm)
Re: User Mode Linux still broken in 2.6.23.1, Greg KH, (Thu Nov 15, 5:06 pm)
[Patch] Fix UML broken (was Re: User Mode Linux still broken..., WANG Cong, (Thu Nov 15, 11:08 pm)