[x86 patch] Fix UML ubd_kern.c build error

From: Balbir Singh
Date: Thu Oct 25 2007 - 07:50:46 EST




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@xxxxxxxxxxxxxxxxxx>
---

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/