Re: [next:master 103/113] include/linux/blkdev.h:25:29: fatal error: asm/scatterlist.h: No such file or directory

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

 



On 4/15/2014 11:59 PM, kbuild test robot wrote:
>    In file included from init/main.c:75:0:
>>> >> include/linux/blkdev.h:25:29: fatal error: asm/scatterlist.h: No such file or directory
>     #include <asm/scatterlist.h>
>                                 ^
>    compilation terminated.

The following patch fixes the compile breakage. For my own knowledge, why did this break in
this particular way?

---- 8< -----

>From fc8f3b8b4c9ab0404c474dd7ffe64d8fd2e1a60f Mon Sep 17 00:00:00 2001
From: Laura Abbott <lauraa@xxxxxxxxxxxxxx>
Date: Wed, 16 Apr 2014 09:02:14 -0700
Subject: [PATCH] um: Use asm-generic/scatterlist.h

commit ff35bd54456e18878c361a8a2deeb41c9688458f
(lib/scatterlist: make ARCH_HAS_SG_CHAIN an actual Kconfig) changed
some architectures to use the generic scatterlist.h but this broke
um:

In file included from init/main.c:75:0:
include/linux/blkdev.h:25:29: fatal error: asm/scatterlist.h:
        No such file or directory

Make um use the generic scatterlist.h as well

Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
Cc: kbuild test robot <fengguang.wu@xxxxxxxxx>
Cc: Jeff Dike <jdike@xxxxxxxxxxx>
Cc: Richard Weinberger <richard@xxxxxx>
Signed-off-by: Laura Abbott <lauraa@xxxxxxxxxxxxxx>
---
 arch/um/include/asm/Kbuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
index a5e4b60..7bd64aa 100644
--- a/arch/um/include/asm/Kbuild
+++ b/arch/um/include/asm/Kbuild
@@ -21,6 +21,7 @@ generic-y += param.h
 generic-y += pci.h
 generic-y += percpu.h
 generic-y += preempt.h
+generic-y += scatterlist.h
 generic-y += sections.h
 generic-y += switch_to.h
 generic-y += topology.h
-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]