[x86 patch] Fix UML ubd_kern.c build error

Balbir Singh
2007-10-25T11:50:43Z

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