Skip to contentSkip to conversation

Fix UML ubd_kern.c build error

PATCH In review Balbir Singh 2 participants 3 messages Oct 25, 2007 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix UML ubd_kern.c build error

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

---

 arch/um/drivers/ubd_kern.c |    1 +
 1 file changed, 1 insertion(+)
arch/um/drivers/ubd_kern.c renamed from arch/um/drivers/ubd_kern.c~fix-uml-ubd_kern-build-error +1 -0
diff -puN arch/um/drivers/ubd_kern.c~fix-uml-ubd_kern-build-error arch/um/drivers/ubd_kern.c
@@ -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"

_

Signature · 4 lines
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
#2 lore raw
Quoted 5 lines · WANG Cong
Quoted 4 lines · Balbir Singh

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

Quoted 8 lines
Quoted 1 line

This is already fixed by me[1]. ;)

[1] http://lkml.org/lkml/2007/10/24/86

Regards.

Excellent! Thanks for pointing me to the fix

Signature · 4 lines
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL