[x86 patch] Fix UML ubd_kern.c build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux