[x86 patch] Fix UML ubd_kern.c build error

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>
Cc: Balbir Singh <balbir@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, October 25, 2007 - 7:50 am

Fix UML build error, include linux/scatterlist.h in arch/um/drivers/ubd_kern.c,
to resolve the definition of sg_page()

Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com>
---

 arch/um/drivers/ubd_kern.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/um/drivers/ubd_kern.c~fix-uml-ubd_kern-build-error arch/um/drivers/ubd_kern.c
--- 2.6.24-rc1/arch/um/drivers/ubd_kern.c~fix-uml-ubd_kern-build-error	2007-10-25 17:15:42.000000000 +0530
+++ 2.6.24-rc1-balbir/arch/um/drivers/ubd_kern.c	2007-10-25 17:15:57.000000000 +0530
@@ -35,6 +35,7 @@
 #include "linux/genhd.h"
 #include "linux/spinlock.h"
 #include "linux/platform_device.h"
+#include "linux/scatterlist.h"
 #include "asm/segment.h"
 #include "asm/uaccess.h"
 #include "asm/irq.h"
_

-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[x86 patch] Fix UML ubd_kern.c build error, Balbir Singh, (Thu Oct 25, 7:50 am)
Re: [x86 patch] Fix UML ubd_kern.c build error, WANG Cong, (Thu Oct 25, 8:08 am)
Re: [x86 patch] Fix UML ubd_kern.c build error, Balbir Singh, (Thu Oct 25, 8:37 am)